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-log_user_text.sql | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'maintenance/archives/patch-log_user_text.sql')

diff --git a/maintenance/archives/patch-log_user_text.sql b/maintenance/archives/patch-log_user_text.sql
index f89a35f6..dffbe8be 100644
--- a/maintenance/archives/patch-log_user_text.sql
+++ b/maintenance/archives/patch-log_user_text.sql
@@ -1,5 +1,7 @@
 ALTER TABLE /*$wgDBprefix*/logging 
 	ADD log_user_text varchar(255) binary NOT NULL default '',
 	ADD log_target_id int unsigned NULL,
-	CHANGE `log_type` `log_type` VARBINARY( 15 ) NOT NULL,
-	CHANGE `log_action` `log_action` VARBINARY( 15 ) NOT NULL;
+	CHANGE log_type log_type varbinary(32) NOT NULL,
+	CHANGE log_action log_action varbinary(32) NOT NULL;
+
+CREATE INDEX /*i*/user_type_time ON /*_*/logging (log_user, log_type, log_timestamp);
-- 
cgit v1.2.3-54-g00ecf

