Skip to content

Commit dca4ab9

Browse files
committed
MDEV-8841 innodb_zip.innodb-create-options fails in buildbot
The real problem is that when innodb.xa_recovery test intentionally crashes the server, system tables can be opened and marked as crashed, and the next test in line gets blamed for the error which appears in the error log. Fixed by flushing the tables before crashing the server
1 parent 5cc149f commit dca4ab9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

mysql-test/suite/innodb/t/xa_recovery.test

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ if (`select plugin_auth_version <= "5.5.43-MariaDB-37.2" from information_schema
66
# Embedded server does not support restarting.
77
--source include/not_embedded.inc
88

9+
# MDEV-8841 - close tables opened by previous tests,
10+
# so they don't get marked crashed when the server gets crashed
11+
--disable_query_log
12+
FLUSH TABLES;
13+
--enable_query_log
14+
915
CREATE TABLE t1 (a INT) ENGINE=InnoDB;
1016
INSERT INTO t1 VALUES (1);
1117
connect (con1,localhost,root);

0 commit comments

Comments
 (0)