Fix r69721: SQLite yells at you if you try to drop an index that doesn't exist; which...
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 3 Nov 2010 12:41:46 +0000 (12:41 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 3 Nov 2010 12:41:46 +0000 (12:41 +0000)
maintenance/sqlite/archives/patch-kill-iwl_pft.sql
maintenance/sqlite/archives/patch-kill-iwl_prefix.sql

index b2eca40..8fc4b5c 100644 (file)
@@ -3,5 +3,5 @@
 -- installs if they ran update.php between it being added and being renamed
 --
 
-DROP INDEX /*i*/iwl_prefix_from_title;
+DROP INDEX IF EXISTS /*i*/iwl_prefix;
 
index c57b7e6..78ed385 100644 (file)
@@ -3,5 +3,5 @@
 -- installs if they ran update.php between it being added and being renamed
 --
 
-DROP INDEX /*i*/iwl_prefix;
+DROP INDEX IF EXISTS /*i*/iwl_prefix;