2019-01-03 13:09:41 +01:00
|
|
|
call mtr.add_suppression("InnoDB: Table `test`.`t1` has an unreadable root page");
|
2018-12-18 15:28:19 +01:00
|
|
|
SET GLOBAL innodb_purge_rseg_truncate_frequency = 1;
|
2018-12-18 13:37:17 +01:00
|
|
|
CREATE TABLE t1 (a INT AUTO_INCREMENT PRIMARY KEY, b TEXT, c char(200)) ENGINE=InnoDB page_compressed=yes;
|
|
|
|
insert into t1(b, c) values("mariadb", "mariabackup");
|
2018-12-18 15:28:19 +01:00
|
|
|
InnoDB 0 transactions not purged
|
2018-12-18 13:37:17 +01:00
|
|
|
# Corrupt the table
|
2019-03-25 07:02:22 +01:00
|
|
|
# restart: --skip-innodb-buffer-pool-load-at-startup
|
2018-12-18 13:37:17 +01:00
|
|
|
# xtrabackup backup
|
2018-12-21 08:43:35 +01:00
|
|
|
FOUND 1 /Database page corruption detected.*/ in backup.log
|
2018-12-18 13:37:17 +01:00
|
|
|
drop table t1;
|