Index: trunk/extensions/FlaggedRevs/archives/patch-fi_img_timestamp.sql |
— | — | @@ -3,4 +3,4 @@ |
4 | 4 | CHANGE fi_img_timestamp fi_img_timestamp char(14) NULL; |
5 | 5 | -- Move bad values over to NULL |
6 | 6 | UPDATE /*$wgDBprefix*/flaggedimages |
7 | | - SET fi_img_timestamp = NULL WHERE fi_img_timestamp = '0\0\0\0\0\0\0\0\0\0\0\0\0\0'; |
| 7 | + SET fi_img_timestamp = NULL WHERE LOCATE( '\0', fi_img_timestamp ); |