diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-07 05:38:44 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-07 05:38:44 +0000 |
commit | 18ae2e6775c3b99b062a0705804c807f36b5da6f (patch) | |
tree | 06d603e228d67da6b4d9f454ab4eb6a2be36d8e0 /modules | |
parent | 40c763f58b2eb5eeb643767b41f5cb675ece8a29 (diff) | |
download | brdo-18ae2e6775c3b99b062a0705804c807f36b5da6f.tar.gz brdo-18ae2e6775c3b99b062a0705804c807f36b5da6f.tar.bz2 |
#371458 by Damien Tournoud, Gerhard Killesreiter, and smk-ka: Add a missing index on menu_router tab_root.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 3d2244415..e3b2ca7b6 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -933,6 +933,7 @@ function system_schema() { 'indexes' => array( 'fit' => array('fit'), 'tab_parent' => array('tab_parent'), + 'tab_root_weight_title' => array(array('tab_root', 64), 'weight', 'title'), ), 'primary key' => array('path'), ); @@ -2224,6 +2225,15 @@ function system_update_7030() { } /** + * Add a missing index on the {menu_router} table. + */ +function system_update_7031() { + $ret = array(); + db_add_index($ret, 'menu_router', 'tab_root_weight_title', array(array('tab_root', 64), 'weight', 'title')); + return $ret; +} + +/** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. */ |