I have a case where I have seperate db cache tables for specific domains under domain access. The memcache cache set fails to create the entries in the appropriate cache table however it reads from the correct table when preforming a cache_get. This of course results in failure to find the appropriate cached item which in the case of AHAH and form cache results in an error occuring.
The patch attached tweaks the style of the query in cache_set to be consisent with queries elsewhere in memcache module and resolves the problem.
| Comment | File | Size | Author |
|---|---|---|---|
| memcache.patch | 923 bytes | marcingy |
Comments
Comment #1
marcingy commentedOn further review this affects any occasion where the cache tables are prefixed as db_query performs the prefixing before applying the regex and hence we are attempting to prefix %s.
Comment #2
jvandyk commentedCommitted to 6.x-1.x-dev.