function db_drop_table

7.x database.inc db_drop_table($table)
6.x database.pgsql.inc db_drop_table(&$ret, $table)
6.x database.mysql-common.inc db_drop_table(&$ret, $table)

Drop a table.

Parameters

$ret: Array to which query results will be added.

$table: The table to be dropped.

Related topics

2 calls to db_drop_table()
drupal_uninstall_schema in drupal-6.x/includes/common.inc
Remove all tables that a module defines in its hook_schema().
openid_update_6001 in drupal-6.x/modules/openid/openid.install
Bind associations to their providers.

File

drupal-6.x/includes/database.mysql-common.inc, line 269
Functions shared between mysql and mysqli database engines.

Code

function db_drop_table(&$ret, $table) {
  $ret[] = update_sql('DROP TABLE {' . $table . '}');
}