• Sergey Vojtovich's avatar
    Removed redundant service_thread_count · 9824ec81
    Sergey Vojtovich authored
    In contrast to thread_count, which is decremented by THD destructor,
    this one was most probably intended to be decremented after all THD
    destructors are done.
    
    THD_count class was added to achieve similar effect with thread_count.
    
    Aim is to reduce usage of LOCK_thread_count and COND_thread_count.
    Part of MDEV-15135.
    9824ec81
mysqld.cc 335 KB