function system_update_6035
6.x system.install | system_update_6035() |
Change index on system table for better performance.
Related topics
File
- drupal-6.x/
modules/ system/ system.install, line 2256
Code
function system_update_6035() {
$ret = array();
db_drop_index($ret, 'system', 'weight');
db_add_index($ret, 'system', 'modules', array(array('type', 12), 'status', 'weight', 'filename'));
db_add_index($ret, 'system', 'bootstrap', array(array('type', 12), 'status', 'bootstrap', 'weight', 'filename'));
return $ret;
}