X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcompareParserCache.php;h=8bd060f324ecaa4f16b8a12c1641d4116f6b493e;hb=f0bef2cf6994c49031d89425b3b3c56fd0e89a65;hp=245b6131a666dacdb6fa6bcdb93b9058c8f46c30;hpb=b5906606e1aa1a795231fb813b766818b1dd6c25;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/compareParserCache.php b/maintenance/compareParserCache.php index 245b6131a6..8bd060f324 100644 --- a/maintenance/compareParserCache.php +++ b/maintenance/compareParserCache.php @@ -35,7 +35,7 @@ class CompareParserCache extends Maintenance { public function execute() { $pages = $this->getOption( 'maxpages' ); - $dbr = $this->getDB( DB_SLAVE ); + $dbr = $this->getDB( DB_REPLICA ); $totalsec = 0.0; $scanned = 0;