summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dmemcache.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dmemcache.inc b/dmemcache.inc
index 8e253dd..98a838f 100644
--- a/dmemcache.inc
+++ b/dmemcache.inc
@@ -416,6 +416,7 @@ function dmemcache_get_multi($keys, $bin = 'cache', $mc = NULL) {
// If $results is FALSE, convert it to an empty array.
if (!$results) {
$results = array();
+ _dmemcache_write_debug('getMulti', $bin, implode(',', $full_keys), FALSE);
}
if ($collect_stats) {
@@ -433,14 +434,13 @@ function dmemcache_get_multi($keys, $bin = 'cache', $mc = NULL) {
$value = _dmemcache_get_pieces($value->data, $value->cid, $bin, $mc);
}
$cid_results[$cid_lookup[$key]] = $value;
+ _dmemcache_write_debug('getMulti', $bin, $key, TRUE);
}
if ($collect_stats) {
dmemcache_stats_write('getMulti', $bin, $multi_stats);
}
- _dmemcache_write_debug('getMulti', $bin, $full_key, !empty($results));
-
return $cid_results;
}