r68431 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68430‎ | r68431 | r68432 >
Date:21:30, 22 June 2010
Author:tparscal
Status:ok
Tags:
Comment:
Fixed CREATE UNIQUE INDEX syntax errors for msg_resource and msg_resource_links
Modified paths:
  • /branches/resourceloader/phase3/maintenance/tables.sql (modified) (history)

Diff [purge]

Index: branches/resourceloader/phase3/maintenance/tables.sql
@@ -1380,7 +1380,7 @@
13811381 -- Timestamp of last update
13821382 mr_timestamp binary(14) NOT NULL
13831383 ) /*$wgDBTableOptions*/;
1384 -CREATE UNIQUE INDEX /*i*/mr_lang_resource(mr_lang, mr_resource);
 1384+CREATE UNIQUE INDEX /*i*/mr_lang_resource ON /*_*/msg_resource (mr_lang, mr_resource);
13851385
13861386 -- Table for administering which message is contained in which resource
13871387 CREATE TABLE /*_*/msg_resource_links (
@@ -1390,6 +1390,6 @@
13911391 -- Message key
13921392 mrl_message varchar(255) NOT NULL
13931393 ) /*$wgDBTableOptions*/;
1394 -CREATE UNIQUE INDEX /*i*/mrl_lang_message_resource(mrl_lang, mrl_message, mrl_resource);
 1394+CREATE UNIQUE INDEX /*i*/mrl_lang_message_resource ON /*_*/msg_resource_links (mrl_lang, mrl_message, mrl_resource);
13951395
13961396 -- vim: sw=2 sts=2 et

Status & tagging log