Merge "Fix use of buildComparison() in uppercaseTitlesForUnicodeTransition.php"

This commit is contained in:
jenkins-bot 2023-10-24 17:10:31 +00:00 committed by Gerrit Code Review
commit 44404d8ee9

View file

@ -609,7 +609,7 @@ class UppercaseTitlesForUnicodeTransition extends Maintenance {
$res = $db->newSelectQueryBuilder()
->select( $selectFields )
->from( $table )
->where( [ "$nsField = $ns", $like, $db->buildComparison( '>', $cont ) ] )
->where( [ "$nsField = $ns", $like, $cont ? $db->buildComparison( '>', $cont ) : '1=1' ] )
->orderBy( array_merge( [ $titleField ], $pkFields ) )
->limit( $batchSize )
->caller( __METHOD__ )->fetchResultSet();