db_query() calls db_prefix_tables before preg_replace_callback so a query like this will not be prefixed correctly:

db_query("UPDATE {%s} SET ...", $table);

Correct version is (from D6 includes/cache.inc):

db_query("UPDATE {". $table ."} SET ...");
CommentFileSizeAuthor
prefix.patch7.22 KBlewisvance

Comments

jeremy’s picture

Status: Needs review » Postponed (maintainer needs more info)

What files are you referring to? Please submit an actual patch.

catch’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Just marked 5.x as unsupported.