• unknown's avatar
    Bug #10600 · 6d29b23b
    unknown authored
    remove_table_from_cache fails to signal other thread and gets
    blocked when other thread also gets blocked
    
    
    include/thr_lock.h:
      Report if any threads was signalled
    mysys/thr_lock.c:
      Report if any threads was signalled
    sql/lock.cc:
      Report if any threads was signalled
      Use new interface for remove_table_from_cache
    sql/mysql_priv.h:
      New interface for remove_table_from_cache
      + mysql_lock_abort_for_thread
    sql/sql_base.cc:
      Use new interface of remove_table_cache
      Rewrote remove_table_from_cache to fix bug
    sql/sql_table.cc:
      Use new interface of remove_table_from_cache
    6d29b23b
thr_lock.h 3.79 KB