X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulateLogUsertext.php;h=3c0bba97c12405083e3fb0c84e8ac57461c1e846;hb=417dd31ad26be38211ebedea21cd9fcff1affa9b;hp=55ad5368cb937c63c2651807a82ff41940d4928e;hpb=dcee65673b531ebe39a093ee0c021a926ea74ad9;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateLogUsertext.php b/maintenance/populateLogUsertext.php index 55ad5368cb..3c0bba97c1 100644 --- a/maintenance/populateLogUsertext.php +++ b/maintenance/populateLogUsertext.php @@ -50,13 +50,13 @@ class PopulateLogUsertext extends LoggedUpdateMaintenance { protected function doDBUpdates() { $batchSize = $this->getBatchSize(); $db = $this->getDB( DB_MASTER ); - $start = $db->selectField( 'logging', 'MIN(log_id)', false, __METHOD__ ); + $start = $db->selectField( 'logging', 'MIN(log_id)', '', __METHOD__ ); if ( !$start ) { $this->output( "Nothing to do.\n" ); return true; } - $end = $db->selectField( 'logging', 'MAX(log_id)', false, __METHOD__ ); + $end = $db->selectField( 'logging', 'MAX(log_id)', '', __METHOD__ ); // If this is being run during an upgrade from 1.16 or earlier, this // will be run before the actor table change and should continue. But @@ -85,7 +85,6 @@ class PopulateLogUsertext extends LoggedUpdateMaintenance { $this->commitTransaction( $db, __METHOD__ ); $blockStart += $batchSize; $blockEnd += $batchSize; - wfWaitForSlaves(); } $this->output( "Done populating log_user_text field.\n" );