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 "filebackend: reduce hashing I/O in SwiftFileBackend::doStoreInternal()"
[lhc/web/wiklou.git]
/
maintenance
/
cleanupTable.inc
diff --git
a/maintenance/cleanupTable.inc
b/maintenance/cleanupTable.inc
index
a18b81e
..
b78e691
100644
(file)
--- a/
maintenance/cleanupTable.inc
+++ b/
maintenance/cleanupTable.inc
@@
-106,7
+106,7
@@
class TableCleanup extends Maintenance {
* @throws MWException
*/
public function runTable( $params ) {
* @throws MWException
*/
public function runTable( $params ) {
- $dbr = $this->getDB( DB_
SLAVE
);
+ $dbr = $this->getDB( DB_
REPLICA
);
if ( array_diff( array_keys( $params ),
[ 'table', 'conds', 'index', 'callback' ] )
if ( array_diff( array_keys( $params ),
[ 'table', 'conds', 'index', 'callback' ] )
@@
-165,7
+165,7
@@
class TableCleanup extends Maintenance {
}
/**
}
/**
- * @param
array
$matches
+ * @param
string[]
$matches
* @return string
*/
protected function hexChar( $matches ) {
* @return string
*/
protected function hexChar( $matches ) {