mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
MDEV-8665: innodb.innodb_bug14147491 fails in buildbot on some debug builds
Added MTR suppressions for database corruption that is intentionally caused in test.
This commit is contained in:
parent
27444871a8
commit
871259f171
2 changed files with 21 additions and 0 deletions
|
@ -1,5 +1,15 @@
|
|||
CALL mtr.add_suppression("InnoDB: Error: Unable to read tablespace .* page no .* into the buffer pool after 100 attempts");
|
||||
CALL mtr.add_suppression("InnoDB: Warning: database page corruption or a failed");
|
||||
CALL mtr.add_suppression("InnoDB: Database page corruption on disk or a failed");
|
||||
CALL mtr.add_suppression("InnoDB: Space .* file test/t1 read of page .*");
|
||||
CALL mtr.add_suppression("InnoDB: You may have to recover from a backup.");
|
||||
CALL mtr.add_suppression("InnoDB: It is also possible that your operatingsystem has corrupted its own file cache.");
|
||||
CALL mtr.add_suppression("InnoDB: and rebooting your computer removes the error.");
|
||||
CALL mtr.add_suppression("InnoDB: If the corrupt page is an index page you can also try to");
|
||||
CALL mtr.add_suppression("InnoDB: fix the corruption by dumping, dropping, and reimporting");
|
||||
CALL mtr.add_suppression("InnoDB: the corrupt table. You can use CHECK");
|
||||
CALL mtr.add_suppression("InnoDB: TABLE to scan your table for corruption.");
|
||||
CALL mtr.add_suppression("InnoDB: See also .* about forcing recovery.");
|
||||
# Create and populate the table to be corrupted
|
||||
CREATE TABLE t1 (a INT AUTO_INCREMENT PRIMARY KEY, b TEXT) ENGINE=InnoDB;
|
||||
INSERT INTO t1 (b) VALUES ('corrupt me');
|
||||
|
|
|
@ -20,6 +20,17 @@ source include/not_windows.inc;
|
|||
|
||||
CALL mtr.add_suppression("InnoDB: Error: Unable to read tablespace .* page no .* into the buffer pool after 100 attempts");
|
||||
CALL mtr.add_suppression("InnoDB: Warning: database page corruption or a failed");
|
||||
CALL mtr.add_suppression("InnoDB: Database page corruption on disk or a failed");
|
||||
CALL mtr.add_suppression("InnoDB: Space .* file test/t1 read of page .*");
|
||||
CALL mtr.add_suppression("InnoDB: You may have to recover from a backup.");
|
||||
CALL mtr.add_suppression("InnoDB: It is also possible that your operatingsystem has corrupted its own file cache.");
|
||||
CALL mtr.add_suppression("InnoDB: and rebooting your computer removes the error.");
|
||||
CALL mtr.add_suppression("InnoDB: If the corrupt page is an index page you can also try to");
|
||||
CALL mtr.add_suppression("InnoDB: fix the corruption by dumping, dropping, and reimporting");
|
||||
CALL mtr.add_suppression("InnoDB: the corrupt table. You can use CHECK");
|
||||
CALL mtr.add_suppression("InnoDB: TABLE to scan your table for corruption.");
|
||||
CALL mtr.add_suppression("InnoDB: See also .* about forcing recovery.");
|
||||
|
||||
|
||||
--echo # Create and populate the table to be corrupted
|
||||
CREATE TABLE t1 (a INT AUTO_INCREMENT PRIMARY KEY, b TEXT) ENGINE=InnoDB;
|
||||
|
|
Loading…
Reference in a new issue