• davi@endora.local's avatar
    Bug#32528 Global read lock with a low priority write lock causes a server crash · 351c4741
    davi@endora.local authored
    FLUSH TABLES WITH READ LOCK fails to properly detect write locked
    tables when running under low priority updates.
    
    The problem is that when trying to aspire a global read lock, the
    reload_acl_and_cache() function fails to properly check if the thread
    has a low priority write lock, which later my cause a server crash or
    deadlock.
    
    The solution is to simple check if the thread has any type of the
    possible exclusive write locks.
    351c4741
flush.result 2.17 KB