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

Comments

asimmonds’s picture

StatusFileSize
new1.63 KB

Should probably remove the db_prefix_tables() from the line above this one, no use calling db_prefix_tables() twice.

Cvbge’s picture

Please 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.

asimmonds’s picture

Whoops, 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.

asimmonds’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)