• Marko Mäkelä's avatar
    MDEV-25989 Crash (or hang) on startup after restoring backup · e1c953ef
    Marko Mäkelä authored
    If an ALTER TABLE that affected a table with FULLTEXT INDEX was
    in progress while a backup was made, InnoDB would crash or hang
    during the first startup after restoring the backup,
    while trying to drop the #sql-alter- table for the DDL operation.
    
    drop_garbage_tables_after_restore(): Invoke dict_sys.unlock()
    before invoking the FTS functions. Also, invoke purge_sys.stop_FTS()
    in debug builds to silence debug assertions. (Purge is not yet
    running at this point.)
    e1c953ef
alter_copy_excluded.result 819 Bytes