Download & Extend

The install file does not work with table prefixes

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}` (
and
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

Status:needs review» fixed

#3

Status:fixed» closed (fixed)