Index: trunk/phase3/maintenance/populateRevisionSha1.php |
— | — | @@ -68,7 +68,7 @@ |
69 | 69 | while ( $blockEnd <= $end ) { |
70 | 70 | $this->output( "...doing $idCol from $blockStart to $blockEnd\n" ); |
71 | 71 | $cond = "$idCol BETWEEN $blockStart AND $blockEnd |
72 | | - AND $idCol IS NOT NULL AND {$prefix}_sha1 IS NOT NULL"; |
| 72 | + AND $idCol IS NOT NULL AND {$prefix}_sha1 != ''"; |
73 | 73 | $res = $db->select( $table, '*', $cond, __METHOD__ ); |
74 | 74 | |
75 | 75 | $db->begin(); |