• Vladislav Vaintroub's avatar
    MDEV-18185 - mariabackup - fix specific case of table rename handing in prepare. · 4a872ae1
    Vladislav Vaintroub authored
    If, during backup
    1) Innodb table is dropped (after being copied to backup) and then
    2) Before backup finished, another Innodb table is renamed, and new name
    is the name of the dropped table in 1)
    
    then, --prepare fails with assertion, as DDL fixup code in prepare
    did not handle this specific case.
    
    The fix is to process drops before renames, in prepare DDL-"redo" phase.
    4a872ae1
drop_table_during_backup.result 438 Bytes