Index: modules/system/system.schema =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.schema,v retrieving revision 1.8 diff -u -p -r1.8 system.schema --- modules/system/system.schema 15 Jul 2007 10:09:21 -0000 1.8 +++ modules/system/system.schema 4 Aug 2007 17:37:07 -0000 @@ -169,7 +169,10 @@ function system_schema() { 'info' => array('type' => 'text', 'not null' => FALSE) ), 'primary key' => array('filename'), - 'indexes' => array('weight' => array('weight')), + 'indexes' => array( + 'type_status' => array(array('type', 8), 'status', 'weight', 'filename'), + 'name_type' => array(array('name', 16), array('type', 8)), + ), ); $schema['url_alias'] = array(