function taxonomy_update_7007
7.x taxonomy.install | taxonomy_update_7007() |
Add index on {taxonomy_term_data}.name column to speed up taxonomy_get_term_by_name().
File
- drupal-7.x/
modules/ taxonomy/ taxonomy.install, line 840 - Install, update and uninstall functions for the taxonomy module.
Code
function taxonomy_update_7007() {
db_add_index('taxonomy_term_data', 'name', array('name'));
}