Add __METHOD__ to query() call in runBatchedQuery.php
authorRoan Kattouw <catrope@users.mediawiki.org>
Fri, 22 Oct 2010 22:43:14 +0000 (22:43 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Fri, 22 Oct 2010 22:43:14 +0000 (22:43 +0000)
maintenance/runBatchedQuery.php

index 555b7b9..ab68e06 100644 (file)
@@ -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 );