Table prefixes aren't supported

Bug #268232 reported by Sense Egbert Hofstede
2
Affects Status Importance Assigned to Milestone
ideatorrent
New
Low
Unassigned

Bug Description

When installing Drupal you can choose to use a prefix for your tables in the database.
Every time you pass on a query, the prefix will automatically be added to the plain table name by Drupal.
There is one big 'but': in order to support this, you need to add accolades around every table name. When you don't do this, the prefix won't be added to the table names.

If the queries executed at the installation of the module wouldn't support prefixes too, the queries would just work when someone would use a prefix. However, the installation queries do place accolades around the table names, which means the module won't work when a prefix is in use.

Revision history for this message
Nicolas Deschildre (ndeschildre) wrote :

really? have you tested it?

Rah, another hidden 'feature' of drupal...

Revision history for this message
Sense Egbert Hofstede (sense) wrote : Re: [Bug 268232] Re: Table prefixes aren't supported

2008/9/9 Nicolas Deschildre <email address hidden>

> really? have you tested it?
>
> Rah, another hidden 'feature' of drupal...
>
> --
> Table prefixes aren't supported
> https://bugs.launchpad.net/bugs/268232
> You received this bug notification because you are a direct subscriber
> of the bug.
>
>
Yes I did. :) I've already fixed it in the Ubuntu Wanted branch. It
shouldn't be a lot work, using the replace function of gedit or any other
program can do it for you.

--
Sense Hofstede
<http://www.qense.nl/>

Revision history for this message
Nicolas Deschildre (ndeschildre) wrote :

Indeed.

Changed in ideatorrent:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.