r51465 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51464‎ | r51465 | r51466 >
Date:12:57, 4 June 2009
Author:aaron
Status:ok
Tags:
Comment:
Tweaked r49468 - sqllite fix
Modified paths:
  • /trunk/phase3/maintenance/archives/patch-log_search.sql (modified) (history)
  • /trunk/phase3/maintenance/tables.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/archives/patch-log_search.sql
@@ -4,7 +4,7 @@
55 -- The value of the ID
66 ls_value varchar(255) NOT NULL,
77 -- Key to log_id
8 - ls_log_id int unsigned NOT NULL default 0,
9 - PRIMARY KEY (ls_field,ls_value,ls_log_id)
 8+ ls_log_id int unsigned NOT NULL default 0
109 ) /*$wgDBTableOptions*/;
 10+CREATE UNIQUE INDEX /*i*/ls_field_val ON /*_*/log_search (ls_field,ls_value,ls_log_id);
1111 CREATE INDEX /*i*/ls_log_id ON /*_*/log_search (ls_log_id);
Index: trunk/phase3/maintenance/tables.sql
@@ -1130,9 +1130,9 @@
11311131 -- The value of the ID
11321132 ls_value varchar(255) NOT NULL,
11331133 -- Key to log_id
1134 - ls_log_id int unsigned NOT NULL default 0,
1135 - PRIMARY KEY (ls_field,ls_value,ls_log_id)
 1134+ ls_log_id int unsigned NOT NULL default 0
11361135 ) /*$wgDBTableOptions*/;
 1136+CREATE UNIQUE INDEX /*i*/ls_field_val ON /*_*/log_search (ls_field,ls_value,ls_log_id);
11371137 CREATE INDEX /*i*/ls_log_id ON /*_*/log_search (ls_log_id);
11381138
11391139

Follow-up revisions

RevisionCommit summaryAuthorDate
r51627Follow up to r51465, replaced old index name reference (gave errors)aaron01:38, 9 June 2009
r55123Fix for CR comments on r51627: fix the log_search table if it was created bet...tstarling04:41, 16 August 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r49468Follow up to r49454: redid indexingaaron15:38, 14 April 2009

Status & tagging log