r49415 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49414‎ | r49415 | r49416 >
Date:23:46, 11 April 2009
Author:aaron
Status:ok (Comments)
Tags:
Comment:
log_target_id -> log_page. Indexed to allow better log tracking wrt page moves.
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,7 +1,8 @@
22 ALTER TABLE /*$wgDBprefix*/logging
33 ADD log_user_text varchar(255) binary NOT NULL default '',
4 - ADD log_target_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
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);

Comments

#Comment by Aaron Schulz (talk | contribs)   23:48, 11 April 2009

index name fixed in r49416

Status & tagging log