r49416 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49415‎ | r49416 | r49417 >
Date:23:48, 11 April 2009
Author:aaron
Status:ok
Tags:
Comment:
Index name fix, tweaked field name
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,8 +1,8 @@
22 ALTER TABLE /*$wgDBprefix*/logging
33 ADD log_user_text varchar(255) binary NOT NULL default '',
4 - ADD log_page int unsigned NULL,
 4+ ADD log_page_id int unsigned NULL,
55 CHANGE log_type log_type varbinary(32) NOT NULL,
66 CHANGE log_action log_action varbinary(32) NOT NULL;
77
88 CREATE INDEX /*i*/user_type_time ON /*_*/logging (log_user, log_type, log_timestamp);
9 -CREATE INDEX /*i*/page_type ON /*_*/logging (log_page,log_timestamp);
 9+CREATE INDEX /*i*/page_id_time ON /*_*/logging (log_page,log_timestamp);

Status & tagging log