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 "mw.jqueryMsg: Handle non-string parameters to functions that expect strings...
[lhc/web/wiklou.git]
/
maintenance
/
runBatchedQuery.php
diff --git
a/maintenance/runBatchedQuery.php
b/maintenance/runBatchedQuery.php
index
f8eedb3
..
39a5c5f
100644
(file)
--- a/
maintenance/runBatchedQuery.php
+++ b/
maintenance/runBatchedQuery.php
@@
-25,12
+25,14
@@
require_once __DIR__ . '/Maintenance.php';
require_once __DIR__ . '/Maintenance.php';
+use Wikimedia\Rdbms\IDatabase;
+
/**
* Maintenance script to run a database query in batches and wait for replica DBs.
*
* @ingroup Maintenance
*/
/**
* Maintenance script to run a database query in batches and wait for replica DBs.
*
* @ingroup Maintenance
*/
-class
BatchedQueryRunner
extends Maintenance {
+class
RunBatchedQuery
extends Maintenance {
public function __construct() {
parent::__construct();
$this->addDescription(
public function __construct() {
parent::__construct();
$this->addDescription(
@@
-109,5
+111,5
@@
class BatchedQueryRunner extends Maintenance {
}
}
}
}
-$maintClass =
"BatchedQueryRunner"
;
+$maintClass =
RunBatchedQuery::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;