Index: trunk/phase3/maintenance/archives/patch-categorylinks-better-collation.sql |
— | — | @@ -5,7 +5,7 @@ |
6 | 6 | -- changes are also incorporated into patch-categorylinks-better-collation2.sql, |
7 | 7 | -- for the benefit of trunk users who applied the original. |
8 | 8 | ALTER TABLE /*$wgDBprefix*/categorylinks |
9 | | - CHANGE COLUMN cl_sortkey cl_sortkey varbinary(255) NOT NULL default '', |
| 9 | + CHANGE COLUMN cl_sortkey cl_sortkey varbinary(230) NOT NULL default '', |
10 | 10 | ADD COLUMN cl_sortkey_prefix varchar(255) binary NOT NULL default '', |
11 | 11 | ADD COLUMN cl_collation varbinary(32) NOT NULL default '', |
12 | 12 | ADD COLUMN cl_type ENUM('page', 'subcat', 'file') NOT NULL default 'page', |
Index: trunk/phase3/maintenance/archives/patch-categorylinks-better-collation2.sql |
— | — | @@ -7,6 +7,6 @@ |
8 | 8 | -- large table unnecessarily for people upgrading from 1.16, so this will be |
9 | 9 | -- skipped if unneeded. |
10 | 10 | ALTER TABLE /*$wgDBprefix*/categorylinks |
11 | | - CHANGE COLUMN cl_sortkey cl_sortkey varbinary(255) NOT NULL default '', |
| 11 | + CHANGE COLUMN cl_sortkey cl_sortkey varbinary(230) NOT NULL default '', |
12 | 12 | CHANGE COLUMN cl_collation cl_collation varbinary(32) NOT NULL default ''; |
13 | 13 | INSERT IGNORE INTO /*$wgDBprefix*/updatelog (ul_key) VALUES ('cl_fields_update'); |
Index: trunk/phase3/maintenance/tables.sql |
— | — | @@ -492,7 +492,7 @@ |
493 | 493 | -- A binary string obtained by applying a sortkey generation algorithm |
494 | 494 | -- (Language::convertToSortkey()) to page_title, or cl_sortkey_prefix . "\0" |
495 | 495 | -- . page_title if cl_sortkey_prefix is nonempty. |
496 | | - cl_sortkey varbinary(255) NOT NULL default '', |
| 496 | + cl_sortkey varbinary(230) NOT NULL default '', |
497 | 497 | |
498 | 498 | -- A prefix for the raw sortkey manually specified by the user, either via |
499 | 499 | -- [[Category:Foo|prefix]] or {{defaultsort:prefix}}. If nonempty, it's |