Posted by hitka on June 8, 2006 at 3:35pm
Jump to:
| Project: | shazamgallery |
| Version: | master |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
The shazamgallery.install file does not use curly braces when creating the database tables, which means that db_query does not prefix the table names with the prefix even if it should. The module itself uses the prefixes correctly, so you only need to change two lines in shazamgallery.install:
db_query("CREATE TABLE IF NOT EXISTS `{shazamgallery}` (db_query("CREATE TABLE IF NOT EXISTS `{relations}` (Sorry for not appending a real patch file, but I hope this is good enough.
Comments
#1
Fixed in HEAD and 4.7
#2
#3