svn:eol-style native
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 17 Jan 2009 15:47:23 +0000 (15:47 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 17 Jan 2009 15:47:23 +0000 (15:47 +0000)
maintenance/archives/patch-index-renames.sql
maintenance/archives/patch-pl-tl-il-unique.sql

index d961731..4a74845 100644 (file)
@@ -1,11 +1,11 @@
--- \r
--- patch-index-renames.sql\r
--- \r
--- Rename three indices because of naming conflicts\r
-\r
-DROP INDEX user_id ON /*_*/user_newtalk;\r
-DROP INDEX user_ip ON /*_*/user_newtalk;\r
-DROP INDEX usertext_timestamp ON /*_*/archive;\r
-CREATE INDEX un_user_id ON /*_*/user_newtalk (user_id);\r
-CREATE INDEX un_user_ip ON /*_*/user_newtalk (user_ip);\r
+-- 
+-- patch-index-renames.sql
+-- 
+-- Rename three indices because of naming conflicts
+
+DROP INDEX user_id ON /*_*/user_newtalk;
+DROP INDEX user_ip ON /*_*/user_newtalk;
+DROP INDEX usertext_timestamp ON /*_*/archive;
+CREATE INDEX un_user_id ON /*_*/user_newtalk (user_id);
+CREATE INDEX un_user_ip ON /*_*/user_newtalk (user_ip);
 CREATE INDEX ar_usertext_timestamp ON /*_*/archive (ar_user_text,ar_timestamp);
\ No newline at end of file
index 0dd452f..ef48163 100644 (file)
@@ -1,11 +1,11 @@
--- \r
--- patch-pl-tl-il-unique-index.sql\r
--- \r
--- Make reorderings of UNIQUE indices UNIQUE as well\r
-\r
-DROP INDEX pl_namespace ON /*_*/pagelinks;\r
-CREATE UNIQUE INDEX pl_namespace ON /*_*/pagelinks (pl_namespace, pl_title, pl_from);\r
-DROP INDEX tl_namespace ON /*_*/templatelinks;\r
-CREATE UNIQUE INDEX tl_namespace ON /*_*/templatelinks (tl_namespace, tl_title, tl_from);\r
-DROP INDEX il_to ON /*_*/imagelinks;\r
-CREATE UNIQUE INDEX il_to ON /*_*/imagelinks (il_to, il_from);\r
+-- 
+-- patch-pl-tl-il-unique-index.sql
+-- 
+-- Make reorderings of UNIQUE indices UNIQUE as well
+
+DROP INDEX pl_namespace ON /*_*/pagelinks;
+CREATE UNIQUE INDEX pl_namespace ON /*_*/pagelinks (pl_namespace, pl_title, pl_from);
+DROP INDEX tl_namespace ON /*_*/templatelinks;
+CREATE UNIQUE INDEX tl_namespace ON /*_*/templatelinks (tl_namespace, tl_title, tl_from);
+DROP INDEX il_to ON /*_*/imagelinks;
+CREATE UNIQUE INDEX il_to ON /*_*/imagelinks (il_to, il_from);