From: Roan Kattouw Date: Fri, 22 Oct 2010 22:43:14 +0000 (+0000) Subject: Add __METHOD__ to query() call in runBatchedQuery.php X-Git-Tag: 1.31.0-rc.0~34382 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=daa4d0b681d9cfa33dd47d6c962b9d88b1eeda39;p=lhc%2Fweb%2Fwiklou.git Add __METHOD__ to query() call in runBatchedQuery.php --- diff --git a/maintenance/runBatchedQuery.php b/maintenance/runBatchedQuery.php index 555b7b96e0..ab68e06f34 100644 --- a/maintenance/runBatchedQuery.php +++ b/maintenance/runBatchedQuery.php @@ -43,7 +43,7 @@ class BatchedQueryRunner extends Maintenance { do { $this->output( "Batch $n: " ); $n++; - $dbw->query( $query ); + $dbw->query( $query, __METHOD__ ); $affected = $dbw->affectedRows(); $this->output( "$affected rows\n" ); wfWaitForSlaves( $wait );