Commit 30394615 authored by Jeremy's avatar Jeremy Committed by Jeremy

Issue #2415109 by Jeremy, sirnjeet: Fix unserialize() notice, enforce order...

Issue #2415109 by Jeremy, sirnjeet: Fix unserialize() notice, enforce order when retrieving multiple pieces from multiple servers
parent 1ea5683b
......@@ -372,7 +372,7 @@ function dmemcache_get_multi($keys, $bin = 'cache', $mc = NULL) {
$results = array();
if ($mc || ($mc = dmemcache_object($bin))) {
if ($mc instanceof Memcached) {
$results = $mc->getMulti($full_keys);
$results = $mc->getMulti($full_keys, NULL, Memcached::GET_PRESERVE_ORDER);
}
elseif ($mc instanceof Memcache) {
$track_errors = ini_set('track_errors', '1');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment