• Dmitry Lenev's avatar
    Part of fix for bug#52044 "FLUSH TABLES WITH READ LOCK and · a6c00c27
    Dmitry Lenev authored
    FLUSH TABLES <list> WITH READ LOCK are incompatible" to
    be pushed as separate patch.
    
    Replaced thread state name "Waiting for table", which was
    used by threads waiting for a metadata lock or table flush, 
    with a set of names which better reflect types of resources
    being waited for.
    
    Also replaced "Table lock" thread state name, which was used 
    by threads waiting on thr_lock.c table level lock, with more
    elaborate "Waiting for table level lock", to make it 
    more consistent with other thread state names.
    
    Updated test cases and their results according to these 
    changes.
    
    Fixed sys_vars.query_cache_wlock_invalidate_func test to not
    to wait for timeout of wait_condition.inc script.
    a6c00c27
sp-lock.test 27.8 KB