dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Remove empty RevisionRecordTest"
[lhc/web/wiklou.git]
/
maintenance
/
storage
/
storageTypeStats.php
diff --git
a/maintenance/storage/storageTypeStats.php
b/maintenance/storage/storageTypeStats.php
index
04d2557
..
c23f508
100644
(file)
--- a/
maintenance/storage/storageTypeStats.php
+++ b/
maintenance/storage/storageTypeStats.php
@@
-23,7
+23,7
@@
require_once __DIR__ . '/../Maintenance.php';
class StorageTypeStats extends Maintenance {
function execute() {
- $dbr = $this->getDB( DB_
SLAVE
);
+ $dbr = $this->getDB( DB_
REPLICA
);
$endId = $dbr->selectField( 'text', 'MAX(old_id)', false, __METHOD__ );
if ( !$endId ) {