The install file does not work with table prefixes
hitka - June 8, 2006 - 15:35
| Project: | shazamgallery |
| Version: | HEAD |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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.

#1
Fixed in HEAD and 4.7
#2
#3