| 6 database.mysql-common.inc | db_drop_index(&$ret, $table, $name) |
| 6 database.pgsql.inc | db_drop_index(& |
| 7 database.inc | db_drop_index($table, $name) |
| 8 database.inc | db_drop_index($table, $name) |
Drop an index.
Parameters
$ret: Array to which query results will be added.
$table: The table to be altered.
$name: The name of the index.
Related topics
10 calls to db_drop_index()
File
- includes/
database.mysql-common.inc, line 456 - Functions shared between mysql and mysqli database engines.
Code
function db_drop_index(&$ret, $table, $name) {
$ret[] = update_sql('ALTER TABLE {' . $table . '} DROP INDEX ' . $name);
}
Login or register to post comments