r51582 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51581‎ | r51582 | r51583 >
Date:06:15, 8 June 2009
Author:tstarling
Status:deferred
Tags:
Comment:
Fixed SQL error, inconsistency in field names between ALTER TABLE and CREATE INDEX. I'll go for log_page rather than log_page_id because it fits in better with similar existing field names.
Modified paths:
  • /trunk/phase3/maintenance/archives/patch-log_user_text.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/archives/patch-log_user_text.sql
@@ -1,6 +1,6 @@
22 ALTER TABLE /*$wgDBprefix*/logging
33 ADD log_user_text varchar(255) binary NOT NULL default '',
4 - ADD log_page_id int unsigned NULL,
 4+ ADD log_page int unsigned NULL,
55 CHANGE log_type log_type varbinary(32) NOT NULL,
66 CHANGE log_action log_action varbinary(32) NOT NULL;
77

Status & tagging log