[ 'LIMIT' => 1 ]
);
if ( $anyBad ) {
- $this->output( "... Deleting bogus rows due to T21552\n" );
+ $this->output( "... Deleting bogus rows due to T215525\n" );
$dbw->delete(
'log_search',
[ 'ls_field' => 'target_author_actor', 'ls_value' => '' ],
__METHOD__
);
$ct = $dbw->affectedRows();
- $this->output( "... Deleted $ct bogus row(s) from T21552\n" );
+ $this->output( "... Deleted $ct bogus row(s) from T215525\n" );
wfWaitForSlaves();
}
'ORDER BY' => $primaryKey,
'LIMIT' => $this->mBatchSize,
],
- [ 'actor' => [ 'LEFT JOIN', 'ls_value = ' . $dbw->buildStringCast( 'actor_user' ) ] ]
+ [ 'actor' => [ 'LEFT JOIN', 'actor_user = ' . $dbw->buildIntegerCast( 'ls_value' ) ] ]
);
if ( !$res->numRows() ) {
break;