function system_update_6035 in Drupal 6
Change index on system table for better performance.
Related topics
File
- 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;
}