Move wait_for_mdl_deadlock_detector() call to tc_remove_table()
As a side effect tc_remove_all_unused_tables() has to call tc_wait_for_mdl_deadlock_detector() once per TABLE object now, while it called it only once before. This should be acceptable since actual wait will still be performed only once. It only adds redundant checks for all_tables_refs.
Showing
Please register or sign in to comment