• Monty's avatar
    MDEV-19745 BACKUP STAGE BLOCK_DDL hangs on flush sequence table · 6a3b581b
    Monty authored
    Problem was that FLUSH TABLES where trying to read latest sequence state
    which conflicted with a running ALTER SEQUENCE. Removed the reading
    of the state, when opening a table for FLUSH, as it's not needed in this
    case.
    
    Other thing:
    - Fixed a potential issue with concurrently running ALTER SEQUENCE where
      the later ALTER could potentially read old data
    6a3b581b
sql_base.cc 299 KB