r20741 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r20740‎ | r20741 | r20742 >
Date:17:53, 27 March 2007
Author:aaron
Status:old
Tags:
Comment:
*Add IF EXISTS clause so tables.sql can be ran to create a db without errors
Modified paths:
  • /trunk/phase3/maintenance/archives/patch-indexes.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/archives/patch-indexes.sql
@@ -4,7 +4,7 @@
55 -- Fix up table indexes; new to stable release in November 2003
66 --
77
8 -ALTER TABLE /*$wgDBprefix*/links
 8+ALTER TABLE IF EXISTS/*$wgDBprefix*/links
99 DROP INDEX l_from,
1010 ADD INDEX l_from (l_from);
1111