• Aleksey Midenkov's avatar
    MDEV-23549 CREATE fails after DROP without FRM · 9842ed4e
    Aleksey Midenkov authored
    Related to 7c2ba9e9: ha_table_exists() is replaced by
    dd_frm_type(). ha_table_exists() checked the existence of share and
    that succeeded to enter the execution branch of ha_delete_table()
    where tdc_remove_table() was called. Now it is skipped because
    dd_frm_type() returns TABLE_TYPE_UNKNOWN. Fix it by calling
    tdc_remove_table() in this case as well.
    9842ed4e
drop_table_force.test 6.21 KB