Closed (won't fix)
Project:
Memcache API and Integration
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Jul 2008 at 05:41 UTC
Updated:
28 Mar 2011 at 15:06 UTC
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 ...");
| Comment | File | Size | Author |
|---|---|---|---|
| prefix.patch | 7.22 KB | lewisvance |
Comments
Comment #1
jeremy commentedWhat files are you referring to? Please submit an actual patch.
Comment #2
catchJust marked 5.x as unsupported.