r47250 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47249‎ | r47250 | r47251 >
Date:06:10, 14 February 2009
Author:werdna
Status:ok
Tags:
Comment:
Fix r45764, which made a whole bunch of random indices UNIQUE for no apparent reason.
Modified paths:
  • /trunk/phase3/maintenance/tables.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/tables.sql
@@ -1199,9 +1199,9 @@
12001200 ) /*$wgDBTableOptions*/;
12011201
12021202 CREATE UNIQUE INDEX /*i*/pr_pagetype ON /*_*/page_restrictions (pr_page,pr_type);
1203 -CREATE UNIQUE INDEX /*i*/pr_typelevel ON /*_*/page_restrictions (pr_type,pr_level);
1204 -CREATE UNIQUE INDEX /*i*/pr_level ON /*_*/page_restrictions (pr_level);
1205 -CREATE UNIQUE INDEX /*i*/pr_cascade ON /*_*/page_restrictions (pr_cascade);
 1203+CREATE INDEX /*i*/pr_typelevel ON /*_*/page_restrictions (pr_type,pr_level);
 1204+CREATE INDEX /*i*/pr_level ON /*_*/page_restrictions (pr_level);
 1205+CREATE INDEX /*i*/pr_cascade ON /*_*/page_restrictions (pr_cascade);
12061206
12071207
12081208 -- Protected titles - nonexistent pages that have been protected

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r45764For backport to 1.14....tstarling06:56, 15 January 2009

Status & tagging log