• Monty's avatar
    Fixed hang in concurrent DROP TABLE and BACKUP LOCK BLOCK_DDL · 744a5380
    Monty authored
    The problem was that tdc_remove_referenced_share() did not take into
    account that someone could push things into share->free_tables() even
    if there is a MDL_EXCLUSIVE lock on the table.
    This can happen if flush_tables() uses the table cache to flush a
    a non transactional table to disk.
    744a5380
deadlock_drop_table.test 979 Bytes