single table discovery: handlerton::discover_table() method.

fixes for need_full_discover_for_existence mode
This commit is contained in:
Sergei Golubchik 2013-04-09 15:45:31 +02:00
commit e5a323e107
12 changed files with 219 additions and 175 deletions

View file

@ -832,11 +832,7 @@ bool mysql_rm_db(THD *thd,char *db,bool if_exists, bool silent)
mysql_ha_rm_tables(thd, tables);
for (table= tables; table; table= table->next_local)
{
tdc_remove_table(thd, TDC_RT_REMOVE_ALL, table->db, table->table_name,
false);
deleted_tables++;
}
thd->push_internal_handler(&err_handler);
if (!thd->killed &&