summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-28 15:38:27 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-28 15:38:27 +0000
commit65bb91c989b67952d77de8a1e573e857bac015da (patch)
tree1d834b030ef34fec5d565ab59de7e0ca4ce9c29b /modules/system
parent803b8b3940257330e3945e243d559718c85cc481 (diff)
downloadbrdo-65bb91c989b67952d77de8a1e573e857bac015da.tar.gz
brdo-65bb91c989b67952d77de8a1e573e857bac015da.tar.bz2
- Patch #215080 by andypost, drifter, Dave Reid | robertDouglass, catch, jaydub: drop unnecessary index.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 8661ac40e..3245fc303 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -2046,6 +2046,7 @@ function system_update_7017() {
function system_update_7018() {
$ret = array();
db_drop_index($ret, 'system', 'modules');
+ db_drop_index($ret, 'system', 'type_name');
db_change_field($ret, 'system', 'type', 'type', array('type' => 'varchar', 'length' => 12, 'not null' => TRUE, 'default' => ''));
db_add_index($ret, 'system', 'modules', array('type', 'status', 'weight', 'name'));
db_add_index($ret, 'system', 'type_name', array('type', 'name'));