• Sergey Vojtovich's avatar
    MDEV-14756 - Remove trx_sys_t::rw_trx_list · a447980f
    Sergey Vojtovich authored
    Let lock_print_info_all_transactions() iterate rw_trx_hash instead of
    rw_trx_list.
    
    When printing info of locks for transactions, InnoDB monitor doesn't
    attempt to read relevant page from disk anymore. The code was prone
    to race conditions.
    
    Note that TrxListIterator didn't work as advertised: it iterated
    rw_trx_list only.
    a447980f
lock0wait.cc 15.4 KB