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
Rename DB_SLAVE constant to DB_REPLICA
[lhc/web/wiklou.git]
/
maintenance
/
benchmarks
/
benchmarkParse.php
diff --git
a/maintenance/benchmarks/benchmarkParse.php
b/maintenance/benchmarks/benchmarkParse.php
index
0a89bfa
..
884e307
100644
(file)
--- a/
maintenance/benchmarks/benchmarkParse.php
+++ b/
maintenance/benchmarks/benchmarkParse.php
@@
-118,7
+118,7
@@
class BenchmarkParse extends Maintenance {
* @return bool|string Revision ID, or false if not found or error
*/
function getRevIdForTime( Title $title, $timestamp ) {
- $dbr = $this->getDB( DB_
SLAVE
);
+ $dbr = $this->getDB( DB_
REPLICA
);
$id = $dbr->selectField(
[ 'revision', 'page' ],