mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
introduce hton->drop_table() method
first step in moving drop table out of the handler. todo: other methods that don't need an open table for now hton->drop_table is optional, for backward compatibility reasons
This commit is contained in:
@ -1168,7 +1168,7 @@ static int execute_ddl_log_action(THD *thd, DDL_LOG_ENTRY *ddl_log_entry)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (unlikely((error= file->ha_delete_table(ddl_log_entry->name))))
|
||||
if (unlikely((error= hton->drop_table(hton, ddl_log_entry->name))))
|
||||
{
|
||||
if (!non_existing_table_error(error))
|
||||
break;
|
||||
|
Reference in New Issue
Block a user