Index: trunk/phase3/maintenance/archives/patch-revision-user-page-index.sql |
— | — | @@ -1,5 +1,4 @@ |
2 | 2 | -- New index on revision table to allow searches for all edits by a given user |
3 | 3 | -- to a given page. Added 2007-08-28 |
4 | 4 | |
5 | | -ALTER TABLE /*$wgDBprefix*/revision |
6 | | - ADD INDEX page_user_timestamp (rev_page,rev_user,rev_timestamp); |
| 5 | +CREATE INDEX /*i*/page_user_timestamp ON /*_*/revision (rev_page,rev_user,rev_timestamp); |
Index: trunk/phase3/maintenance/sqlite/archives/patch-revision-user-page-index.sql |
— | — | @@ -1,5 +1,4 @@ |
2 | 2 | -- New index on revision table to allow searches for all edits by a given user |
3 | 3 | -- to a given page. Added 2007-08-28 |
4 | 4 | |
5 | | -ALTER TABLE /*$wgDBprefix*/revision |
6 | | - ADD INDEX page_user_timestamp (rev_page,rev_user,rev_timestamp); |
| 5 | +CREATE INDEX /*i*/page_user_timestamp ON /*_*/revision (rev_page,rev_user,rev_timestamp); |