r72878 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72877‎ | r72878 | r72879 >
Date:17:48, 12 September 2010
Author:maxsem
Status:ok
Tags:
Comment:
Follow-up r72870: fixed patch file so that it actually works, switched it to native SQLite types
Modified paths:
  • /trunk/phase3/maintenance/sqlite/archives/patch-categorylinks-better-collation.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/sqlite/archives/patch-categorylinks-better-collation.sql
@@ -1,7 +1,7 @@
2 -ALTER TABLE /*_*/categorylinks ADD COLUMN cl_sortkey_prefix TEXT binary NOT NULL default '';
 2+ALTER TABLE /*_*/categorylinks ADD COLUMN cl_sortkey_prefix TEXT NOT NULL default '';
33 ALTER TABLE /*_*/categorylinks ADD COLUMN cl_collation BLOB NOT NULL default '';
4 -ALTER TABLE /*_*/categorylinks ADD COLUMN cl_type ENUM('page', 'subcat', 'file') NOT NULL default 'page';
 4+ALTER TABLE /*_*/categorylinks ADD COLUMN cl_type TEXT NOT NULL default 'page';
55 CREATE INDEX cl_collation ON /*_*/categorylinks (cl_collation);
66 DROP INDEX cl_sortkey;
77 CREATE INDEX cl_sortkey ON /*_*/categorylinks (cl_to, cl_type, cl_sortkey, cl_from);
8 -INSERT IGNORE INTO /*_*/updatelog (ul_key) VALUES ('cl_fields_update');
 8+INSERT OR IGNORE INTO /*_*/updatelog (ul_key) VALUES ('cl_fields_update');

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r72870GOOD BYE, dear old updaters.inc!...ialex16:24, 12 September 2010

Status & tagging log