| 1 |
call mtr.add_suppression("\\[ERROR\\] InnoDB: Failed to read page 3 from file '.*test/t1\\.ibd'"); |
| 2 |
call mtr.add_suppression("\\[ERROR\\] InnoDB: File '.*test/t1\\.ibd' is corrupted"); |
| 3 |
call mtr.add_suppression("InnoDB: Table `test`.`t1` has an unreadable root page"); |
| 4 |
CREATE TABLE t1 (a INT AUTO_INCREMENT PRIMARY KEY, b TEXT, c char(200)) |
| 5 |
ENGINE=InnoDB PAGE_COMPRESSED=YES STATS_PERSISTENT=0; |
| 6 |
insert into t1(b, c) values("mariadb", "mariabackup"); |
| 7 |
InnoDB 0 transactions not purged |
| 8 |
# Corrupt the table |
| 9 |
# restart: --skip-innodb-buffer-pool-load-at-startup |
| 10 |
# xtrabackup backup |
| 11 |
FOUND 1 /Database page corruption detected.*/ in backup.log |
| 12 |
drop table t1; |