r75919 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r75918
|
r75919
|
r75920
>
Date:
12:41, 3 November 2010
Author:
demon
Status:
ok
Tags:
Comment:
Fix
r69721
: SQLite yells at you if you try to drop an index that doesn't exist; which might be the case considering how many times these indexes were renamed and dropped. Per
r73758
, put IF EXISTS on them--it certainly can't hurt.
Modified paths:
/trunk/phase3/maintenance/sqlite/archives/patch-kill-iwl_pft.sql
(modified) (
history
)
/trunk/phase3/maintenance/sqlite/archives/patch-kill-iwl_prefix.sql
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/maintenance/sqlite/archives/patch-kill-iwl_pft.sql
—
—
@@ -3,5 +3,5 @@
4
4
-- installs if they ran update.php between it being added and being renamed
5
5
--
6
6
7
-DROP INDEX /*i*/iwl_prefix_from_title;
7
+DROP INDEX IF EXISTS /*i*/iwl_prefix;
8
8
Index: trunk/phase3/maintenance/sqlite/archives/patch-kill-iwl_prefix.sql
—
—
@@ -3,5 +3,5 @@
4
4
-- installs if they ran update.php between it being added and being renamed
5
5
--
6
6
7
-DROP INDEX /*i*/iwl_prefix;
7
+DROP INDEX IF EXISTS /*i*/iwl_prefix;
8
8
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r69721
Rename the iwl_prefix_from_title index (again) to iwl_prefix_title_from and c...
catrope
08:52, 22 July 2010
r73758
A few index-related fixes in SQLite DB patches, ping
r66920
....
maxsem
17:45, 25 September 2010
Status & tagging log
16:43, 12 December 2010
Catrope
(
talk
|
contribs
)
changed the
status
of r75919
[
removed:
new
added:
ok]