• Marko Mäkelä's avatar
    MDEV-13564 Mariabackup does not work with TRUNCATE · 5a1868b5
    Marko Mäkelä authored
    This is a merge from 10.2, but the 10.2 version of this will not
    be pushed into 10.2 yet, because the 10.2 version would include
    backports of MDEV-14717 and MDEV-14585, which would introduce
    a crash recovery regression: Tables could be lost on
    table-rebuilding DDL operations, such as ALTER TABLE,
    OPTIMIZE TABLE or this new backup-friendly TRUNCATE TABLE.
    The test innodb.truncate_crash occasionally loses the table due to
    the following bug:
    
    MDEV-17158 log_write_up_to() sometimes fails
    5a1868b5
undo_truncate.opt 28 Bytes