• Sergey Vojtovich's avatar
    Move wait_for_mdl_deadlock_detector() call to tc_remove_table() · d6d40112
    Sergey Vojtovich authored
    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.
    d6d40112
table_cache.cc 34.1 KB