Skip to content

Commit

Permalink
MDEV-12794 innodb_zip.recover failed in buildbot
Browse files Browse the repository at this point in the history
Issue FLUSH TABLES to prevent unintended corruption of
crash-unsafe tables when the server is killed.
  • Loading branch information
dr-m committed May 18, 2017
1 parent fff61e3 commit 4807df6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mysql-test/suite/innodb_zip/t/recover.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
--source include/have_innodb_max_16k.inc
--source include/not_embedded.inc

--disable_query_log
# This test kills the server, which could corrupt some mysql.* tables
# that are not created with ENGINE=InnoDB.
# Flush any non-InnoDB tables to prevent that from happening.
FLUSH TABLES;
--enable_query_log

--echo #
--echo # MDEV-12720 recovery fails with "Generic error"
--echo # for ROW_FORMAT=compressed
Expand Down

0 comments on commit 4807df6

Please sign in to comment.