Skip to content

Commit bc526a5

Browse files
committed
avoid warnings about mtr.test_suppressions not being closed before the
crash
1 parent 6ee37fa commit bc526a5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

mysql-test/suite/innodb/r/innodb-wl5522-debug-zip.result

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ call mtr.add_suppression("InnoDB: Cannot calculate statistics for table .* becau
33
call mtr.add_suppression("InnoDB: Error: Tablespace flags .* corrupted unused .*");
44
call mtr.add_suppression("InnoDB: Tablespace flags: .* corrupted in file: .* ");
55
call mtr.add_suppression("InnoDB: Page 0 at offset 0 looks corrupted in file .*");
6+
flush tables;
67
SET GLOBAL innodb_file_per_table = 1;
78
SELECT @@innodb_file_per_table;
89
@@innodb_file_per_table
@@ -585,10 +586,6 @@ set global innodb_monitor_enable = default;
585586
set global innodb_monitor_disable = default;
586587
set global innodb_monitor_reset = default;
587588
set global innodb_monitor_reset_all = default;
588-
Warnings:
589-
Error 145 Table './mtr/test_suppressions' is marked as crashed and should be repaired
590-
Error 1194 Table 'test_suppressions' is marked as crashed and should be repaired
591-
Error 1034 1 client is using or hasn't closed the table properly
592589
SET GLOBAL INNODB_FILE_PER_TABLE=1;
593590
SET GLOBAL INNODB_FILE_FORMAT=Barracuda;
594591
Warnings:

mysql-test/suite/innodb/t/innodb-wl5522-debug-zip.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ call mtr.add_suppression("InnoDB: Cannot calculate statistics for table .* becau
2222
call mtr.add_suppression("InnoDB: Error: Tablespace flags .* corrupted unused .*");
2323
call mtr.add_suppression("InnoDB: Tablespace flags: .* corrupted in file: .* ");
2424
call mtr.add_suppression("InnoDB: Page 0 at offset 0 looks corrupted in file .*");
25+
flush tables;
2526

2627
let MYSQLD_DATADIR =`SELECT @@datadir`;
2728
let $innodb_file_per_table = `SELECT @@innodb_file_per_table`;

0 commit comments

Comments
 (0)