From 222b01f5169f1c7e69762e0e8904c24f78f71882 Mon Sep 17 00:00:00 2001
From: Pierre Schmitz <pierre@archlinux.de>
Date: Wed, 28 Jul 2010 11:52:48 +0200
Subject: update to MediaWiki 1.16.0

---
 maintenance/archives/patch-log_search-rename-index.sql | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 maintenance/archives/patch-log_search-rename-index.sql

(limited to 'maintenance/archives/patch-log_search-rename-index.sql')

diff --git a/maintenance/archives/patch-log_search-rename-index.sql b/maintenance/archives/patch-log_search-rename-index.sql
new file mode 100644
index 00000000..41e051d8
--- /dev/null
+++ b/maintenance/archives/patch-log_search-rename-index.sql
@@ -0,0 +1,7 @@
+-- Rename the primary unique index from PRIMARY to ls_field_val
+-- This is for MySQL only and is necessary only for databases which were updated
+-- between MW 1.16 development revisions r50567 and r51465.
+ALTER TABLE /*_*/log_search 
+	DROP PRIMARY KEY, 
+	ADD UNIQUE INDEX ls_field_val (ls_field,ls_value,ls_log_id);
+
-- 
cgit v1.2.2

