• Marko Mäkelä's avatar
    MDEV-20612: Replace lock_sys.mutex with lock_sys.latch · b01d8e1a
    Marko Mäkelä authored
    For now, we will acquire the lock_sys.latch only in exclusive mode,
    that is, use it as a mutex.
    
    This is preparation for the next commit where we will introduce
    a less intrusive alternative, combining a shared lock_sys.latch
    with dict_table_t::lock_mutex or a mutex embedded in
    lock_sys.rec_hash, lock_sys.prdt_hash, or lock_sys.prdt_page_hash.
    b01d8e1a
srv0srv.cc 63.3 KB