• Jon Olav Hauglid's avatar
    Bug #43685 Lock table affects other non-related tables · c2beb683
    Jon Olav Hauglid authored
    The problem was that FLUSH TABLE <table_list> would block, 
    waiting for all tables with old versions to be removed from 
    the table definition cache, rather than waiting for only 
    the tables in <table_list>. This could happen if FLUSH TABLE
    was used in combination with LOCK TABLES.
    
    With the new MDL code, this problem is no longer repeatable.
    Regression test case added to lock.test. This commit contains
    no code changes.
    c2beb683
lock.test 12.3 KB