r68737 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68736‎ | r68737 | r68738 >
Date:20:02, 29 June 2010
Author:aaron
Status:ok
Tags:
Comment:
Catch '' as well as '0'
Modified paths:
  • /trunk/extensions/FlaggedRevs/archives/patch-fi_img_timestamp.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/archives/patch-fi_img_timestamp.sql
@@ -3,4 +3,4 @@
44 CHANGE fi_img_timestamp fi_img_timestamp char(14) NULL;
55 -- Move bad values over to NULL
66 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 );

Status & tagging log