• Sergey Vojtovich's avatar
    Simplified THD::current_linfo locking · 891be49a
    Sergey Vojtovich authored
    LOG_INFO::lock was useless. It could've only protect against concurrent
    iterators execution, which was already protected by LOCK_thread_count.
    
    Use LOCK_thd_data instead of LOCK_thread_count as a protection against
    THD::current_linfo reset.
    
    Aim is to reduce usage of LOCK_thread_count and COND_thread_count.
    Part of MDEV-15135.
    891be49a
setup_instruments_defaults.result 1.86 KB