summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorberdir2017-07-12 05:33:00 (GMT)
committerJeremy Andrews2017-07-12 05:33:00 (GMT)
commite7af099f7c5e70ce06323dfe4f0fd6f5d2f68961 (patch)
treedf95163bc02bf1648cb72802e593ee6b2a0958b7
parent0d1a63a4cb175405ec3fad5425b706833498ffaa (diff)
Issue #1131370 by Jeremy, Berdir: Segment wildcard counts by $string[0]
-rw-r--r--memcache.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/memcache.inc b/memcache.inc
index 0cc3483..81c8a4a 100644
--- a/memcache.inc
+++ b/memcache.inc
@@ -430,6 +430,7 @@ function memcache_wildcards($cid, $table, $flush = FALSE) {
// along with cache consistency.
if ($length < $key_length) {
$wildcard_flushes[$table] = array();
+ memcache_variable_set("cache_flush_${table}", time());
}
$key = substr($cid, 0, $key_length);
$wildcard_flushes[$table][$key][$length] = $_SERVER['REQUEST_TIME'];