Index: trunk/phase3/maintenance/archives/patch-log_search-rename-index.sql |
— | — | @@ -0,0 +1,7 @@ |
| 2 | +-- Rename the primary unique index from PRIMARY to ls_field_val |
| 3 | +-- This is for MySQL only and is necessary only for databases which were updated |
| 4 | +-- between MW 1.16 development revisions r50567 and r51465. |
| 5 | +ALTER TABLE /*_*/log_search |
| 6 | + DROP PRIMARY KEY, |
| 7 | + ADD UNIQUE INDEX ls_field_val (ls_field,ls_value,ls_log_id); |
| 8 | + |
Property changes on: trunk/phase3/maintenance/archives/patch-log_search-rename-index.sql |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 9 | + native |
Index: trunk/phase3/maintenance/updaters.inc |
— | — | @@ -162,6 +162,7 @@ |
163 | 163 | array( 'add_field', 'logging', 'log_user_text', 'patch-log_user_text.sql' ), |
164 | 164 | array( 'add_table', 'l10n_cache', 'patch-l10n_cache.sql' ), |
165 | 165 | array( 'add_table', 'external_user', 'patch-external_user.sql' ), |
| 166 | + array( 'add_index', 'log_search', 'ls_field_val', 'patch-log_search-rename-index.sql' ), |
166 | 167 | ), |
167 | 168 | |
168 | 169 | 'sqlite' => array( |