Merge "Fix default "srvCache" BagOStuff in DatabaseBase"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 15 Sep 2016 18:43:22 +0000 (18:43 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 15 Sep 2016 18:43:22 +0000 (18:43 +0000)
includes/db/Database.php

index cf97320..3fa1335 100644 (file)
@@ -265,7 +265,7 @@ abstract class DatabaseBase implements IDatabase, LoggerAwareInterface {
 
                $this->srvCache = isset( $params['srvCache'] )
                        ? $params['srvCache']
-                       : new EmptyBagOStuff();
+                       : new HashBagOStuff();
 
                $this->profiler = isset( $params['profiler'] )
                        ? $params['profiler']