r83005 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83004‎ | r83005 | r83006 >
Date:07:40, 1 March 2011
Author:freakolowsky
Status:ok
Tags:
Comment:
* fixed INDEX change (i missed that one)
Modified paths:
  • /trunk/phase3/maintenance/oracle/archives/patch_16_17_schema_changes.sql (modified) (history)
  • /trunk/phase3/maintenance/oracle/tables.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/oracle/archives/patch_16_17_schema_changes.sql
@@ -2,7 +2,7 @@
33
44 ALTER TABLE &mw_prefix.archive MODIFY ar_user DEFAULT 0 NOT NULL;
55 ALTER TABLE &mw_prefix.archive MODIFY ar_deleted CHAR(1);
6 -CREATE INDEX &mw_prefix.archive_i03 ON &mw_prefix.archive (ar_namespace, ar_title, ar_rev_id);
 6+CREATE INDEX &mw_prefix.archive_i03 ON &mw_prefix.archive (ar_rev_id);
77
88 ALTER TABLE &mw_prefix.page MODIFY page_is_redirect default '0';
99 ALTER TABLE &mw_prefix.page MODIFY page_is_new default '0';
Index: trunk/phase3/maintenance/oracle/tables.sql
@@ -131,7 +131,7 @@
132132 ALTER TABLE &mw_prefix.archive ADD CONSTRAINT &mw_prefix.archive_fk1 FOREIGN KEY (ar_user) REFERENCES &mw_prefix.mwuser(user_id) ON DELETE SET NULL DEFERRABLE INITIALLY DEFERRED;
133133 CREATE INDEX &mw_prefix.archive_i01 ON &mw_prefix.archive (ar_namespace,ar_title,ar_timestamp);
134134 CREATE INDEX &mw_prefix.archive_i02 ON &mw_prefix.archive (ar_user_text,ar_timestamp);
135 -CREATE INDEX &mw_prefix.archive_i03 ON &mw_prefix.archive (ar_namespace, ar_title, ar_rev_id);
 135+CREATE INDEX &mw_prefix.archive_i03 ON &mw_prefix.archive (ar_rev_id);
136136
137137 CREATE TABLE &mw_prefix.pagelinks (
138138 pl_from NUMBER NOT NULL,

Follow-up revisions

RevisionCommit summaryAuthorDate
r85354MFT r82518, r82530, r82538, r82547, r82550, r82565, r82572, r82608, r82696, r...demon18:25, 4 April 2011

Status & tagging log