Add a missing index on the tab query on {menu_router}.

From: damz <damz@damz-dev.local>


---
 system/system.install |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git modules/system/system.install modules/system/system.install
index 1c1d310..67532d1 100644
--- modules/system/system.install
+++ modules/system/system.install
@@ -875,6 +875,7 @@ function system_schema() {
     'indexes' => array(
       'fit' => array('fit'),
       'tab_parent' => array('tab_parent'),
+      'tab_root_weight_title' => array('tab_root', 'weight', 'title'),
     ),
     'primary key' => array('path'),
   );
@@ -2802,6 +2803,15 @@ function system_update_6049() {
 }
 
 /**
+ * Add a missing index on the {menu_router} table.
+ */
+function system_update_6050() {
+  $ret = array();
+  db_add_index($ret, 'menu_router', 'tab_root_weight_title', array('tab_root', 'weight', 'title'));
+  return $ret;
+}
+
+/**
  * @} End of "defgroup updates-6.x-extra"
  * The next series of updates should start at 7000.
  */
