r23228 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23227‎ | r23228 | r23229 >
Date:15:19, 22 June 2007
Author:yurik
Status:old
Tags:
Comment:
Forgot to update table sql per bug 10280
Modified paths:
  • /trunk/phase3/maintenance/postgres/tables.sql (modified) (history)
  • /trunk/phase3/maintenance/tables.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/postgres/tables.sql
@@ -177,7 +177,7 @@
178178 cl_timestamp TIMESTAMPTZ NOT NULL
179179 );
180180 CREATE UNIQUE INDEX cl_from ON categorylinks (cl_from, cl_to);
181 -CREATE INDEX cl_sortkey ON categorylinks (cl_to, cl_sortkey);
 181+CREATE INDEX cl_sortkey ON categorylinks (cl_to, cl_sortkey, cl_from);
182182
183183 CREATE TABLE externallinks (
184184 el_from INTEGER NOT NULL REFERENCES page(page_id) ON DELETE CASCADE,
Index: trunk/phase3/maintenance/tables.sql
@@ -473,7 +473,7 @@
474474 UNIQUE KEY cl_from (cl_from,cl_to),
475475
476476 -- We always sort within a given category...
477 - KEY cl_sortkey (cl_to,cl_sortkey),
 477+ KEY cl_sortkey (cl_to,cl_sortkey,cl_from),
478478
479479 -- Not really used?
480480 KEY cl_timestamp (cl_to,cl_timestamp)

Follow-up revisions

RevisionCommit summaryAuthorDate
r23407Merged revisions 23203-23405 via svnmerge from...david23:00, 25 June 2007

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r23016bug 10280: For table categorylinks, add cl_from to the cl_sortkey indexyurik18:37, 15 June 2007
r23039Merged revisions 22967-23037 via svnmerge from...david20:15, 16 June 2007

Status & tagging log