r23457 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23456‎ | r23457 | r23458 >
Date:06:56, 27 June 2007
Author:robchurch
Status:old
Tags:
Comment:
(sigh) Make recentchanges.rc_params NULLable; higher versions of MySQL don't allow BLOBs to have default values in strict mode. There seems to be no upgrader for this, and the whole thing seems a bit fucked up...
Modified paths:
  • /branches/robchurch/logs/maintenance/tables.sql (modified) (history)

Diff [purge]

Index: branches/robchurch/logs/maintenance/tables.sql
@@ -855,7 +855,7 @@
856856 -- Store log action or null
857857 rc_log_action varbinary(255) NULL default NULL,
858858 -- Log params
859 - rc_params blob NOT NULL default '',
 859+ rc_params BLOB NULL,
860860
861861 PRIMARY KEY rc_id (rc_id),
862862 INDEX rc_timestamp (rc_timestamp),

Status & tagging log