diff --git a/storage/innobase/handler/handler0alter.cc b/storage/innobase/handler/handler0alter.cc index f4003dc..6b8c2ec 100644 --- a/storage/innobase/handler/handler0alter.cc +++ b/storage/innobase/handler/handler0alter.cc @@ -8567,9 +8567,8 @@ class alter_part_normal : public alter_part { dd::Partition *new_part) override { ut_ad(m_old != nullptr); - btr_drop_ahi_for_table(*m_old); - mutex_enter(&dict_sys->mutex); + btr_drop_ahi_for_table(*m_old); dd_table_close(*m_old, nullptr, nullptr, true); dict_table_remove_from_cache(*m_old); *m_old = nullptr;