function db_drop_table

Same name in this branch
  1. 6.x drupal-6.x/includes/database.pgsql.inc \db_drop_table()
  2. 6.x drupal-6.x/includes/database.mysql-common.inc \db_drop_table()
Same name and namespace in other branches
  1. 7.x drupal-7.x/includes/database/database.inc \db_drop_table()

Drop a table.

Parameters

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

$table: The table to be dropped.

Related topics

1 call 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().

Archivo

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

Código

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