diff options
Diffstat (limited to 'maintenance/storage/moveToExternal.php')
-rw-r--r-- | maintenance/storage/moveToExternal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/storage/moveToExternal.php b/maintenance/storage/moveToExternal.php index a8b2f93b..dc11856a 100644 --- a/maintenance/storage/moveToExternal.php +++ b/maintenance/storage/moveToExternal.php @@ -62,7 +62,7 @@ function moveToExternal( $cluster, $maxID, $minID = 1 ) { $res = $dbr->select( 'text', array( 'old_id', 'old_flags', 'old_text' ), array( "old_id BETWEEN $blockStart AND $blockEnd", - "old_flags NOT LIKE '%external%'", + 'old_flags NOT ' . $dbr->buildLike( $dbr->anyString(), 'external', $dbr->anyString() ), ), $fname ); while ( $row = $dbr->fetchObject( $res ) ) { # Resolve stubs |