summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-11-11 17:04:47 +0000
committerDries Buytaert <dries@buytaert.net>2009-11-11 17:04:47 +0000
commit304ae8424654c77a1be3904cd82c214f0a78163b (patch)
treebbfa6f23756ff4766b168a6daef9d1751bfdf1d3 /modules/system/system.install
parent8e19d799f6bc5b668f8a241464d2e544611d079f (diff)
downloadbrdo-304ae8424654c77a1be3904cd82c214f0a78163b.tar.gz
brdo-304ae8424654c77a1be3904cd82c214f0a78163b.tar.bz2
- Patch #623992 by catch: performance improvements to system_list().
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 412d116b1..1da65c102 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -1567,6 +1567,7 @@ function system_schema() {
),
'primary key' => array('filename'),
'indexes' => array(
+ 'bootstrap' => array('status', 'bootstrap', 'type', 'weight', 'name'),
'system_list' => array('weight', 'name'),
'type_name' => array('type', 'name'),
),
@@ -2183,7 +2184,6 @@ function system_update_7017() {
function system_update_7018() {
db_drop_index('system', 'modules');
db_drop_index('system', 'type_name');
- db_drop_index('system', 'bootstrap');
db_change_field('system', 'type', 'type', array('type' => 'varchar', 'length' => 12, 'not null' => TRUE, 'default' => ''));
db_add_index('system', 'type_name', array('type', 'name'));
db_add_index('system', 'system_list', array('weight', 'name'));