Prefixing of the temporary database tables was introduced in commit http://drupal.org/cvs?commit=20894, but a call to db_prefix_tables() was overlooked.
Patch to add a db_prefix_tables() call in db_query_temporary() to includes/database.mysql.inc and database.pgsql.inc
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | db-temp-prefix_0.patch | 1.63 KB | asimmonds |
| db-temp-prefix.patch | 1.37 KB | asimmonds |
Comments
Comment #1
asimmonds commentedShould probably remove the db_prefix_tables() from the line above this one, no use calling db_prefix_tables() twice.
Comment #2
Cvbge commentedPlease see http://drupal.org/node/36352 - prefixing temporary tables is questionable.
I'd prefer to drop prefixing the tables, as I don't see how would it help.
Comment #3
asimmonds commentedWhoops, sorry I didn't see that issue. Steven introduced the change, so I suppose it's up to him if it stays, but you give a pretty good argument.
Comment #4
asimmonds commentedFixed by:
http://drupal.org/node/36352#comment-55667
Comment #5
(not verified) commented