From 72e90545454c0e014318fa3c81658e035aac58c1 Mon Sep 17 00:00:00 2001
From: Pierre Schmitz <pierre@archlinux.de>
Date: Wed, 10 Jun 2009 13:00:47 +0200
Subject: applying patch to version 1.15.0

---
 maintenance/archives/patch-pl-tl-il-unique.sql | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 maintenance/archives/patch-pl-tl-il-unique.sql

(limited to 'maintenance/archives/patch-pl-tl-il-unique.sql')

diff --git a/maintenance/archives/patch-pl-tl-il-unique.sql b/maintenance/archives/patch-pl-tl-il-unique.sql
new file mode 100644
index 00000000..186a2036
--- /dev/null
+++ b/maintenance/archives/patch-pl-tl-il-unique.sql
@@ -0,0 +1,11 @@
+-- 
+-- patch-pl-tl-il-unique-index.sql
+-- 
+-- Make reorderings of UNIQUE indices UNIQUE as well
+
+DROP INDEX /*i*/pl_namespace ON /*_*/pagelinks;
+CREATE UNIQUE INDEX /*i*/pl_namespace ON /*_*/pagelinks (pl_namespace, pl_title, pl_from);
+DROP INDEX /*i*/tl_namespace ON /*_*/templatelinks;
+CREATE UNIQUE INDEX /*i*/tl_namespace ON /*_*/templatelinks (tl_namespace, tl_title, tl_from);
+DROP INDEX /*i*/il_to ON /*_*/imagelinks;
+CREATE UNIQUE INDEX /*i*/il_to ON /*_*/imagelinks (il_to, il_from);
-- 
cgit v1.2.2

