• Jon Olav Hauglid's avatar
    Bug #43685 Lock table affects other non-related tables · 2a340691
    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.
    2a340691
lock.result 11.6 KB