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.

CommentFileSizeAuthor
memcache.patch923 bytesmarcingy

Comments

marcingy’s picture

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

jvandyk’s picture

Status: Needs review » Fixed

Committed to 6.x-1.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.