From de9d0049a4c1bb02ab76dad82f321b278056e27f Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Sat, 24 Jul 2010 17:24:02 +0000
Subject: [PATCH] - Patch #800432 by marcingy: no index on {semaphore}.value.

---
 modules/system/system.install | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/system/system.install b/modules/system/system.install
index 0b691a20dcea..c83bc60feb87 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -1380,7 +1380,10 @@ function system_schema() {
         'not null' => TRUE
       ),
     ),
-    'indexes' => array('value' => array('value')),
+    'indexes' => array(
+      'value' => array('value'),
+      'expire' => array('expire'),
+    ),
     'primary key' => array('name'),
   );
 
-- 
GitLab