It would seem we'd need to update $blockStart if there are no results
for a given block, and more importantly, continue and not break!
Bug: T175962
Change-Id: Ice1bdae3d16cf365da14c6df0e8d91d2b954e064
$numRows = $rows->numRows();
if ( !$rows || $numRows === 0 ) {
$numRows = $rows->numRows();
if ( !$rows || $numRows === 0 ) {
+ $blockStart = $blockEnd + 1;
+ continue;
}
$this->output( "...checking $numRows revisions for IP edits that need copying, " .
}
$this->output( "...checking $numRows revisions for IP edits that need copying, " .