Commit 00b6c7d8 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-16946 innodb.alter_kill failed in buildbot with wrong result

Ensure that no redo log checkpoint occurs in a critical section
of a recovery test.
parent 8b371e4b
...@@ -127,13 +127,14 @@ INSERT INTO t1 VALUES(42); ...@@ -127,13 +127,14 @@ INSERT INTO t1 VALUES(42);
CREATE TABLE bug16735660 (a INT PRIMARY KEY) ENGINE=InnoDB; CREATE TABLE bug16735660 (a INT PRIMARY KEY) ENGINE=InnoDB;
XA START 'x'; XA START 'x';
--source ../include/no_checkpoint_start.inc
INSERT INTO bug16735660 VALUES(1),(2),(3); INSERT INTO bug16735660 VALUES(1),(2),(3);
XA END 'x'; XA END 'x';
XA PREPARE 'x'; XA PREPARE 'x';
--connection default
--let CLEANUP_IF_CHECKPOINT=XA ROLLBACK 'x';DROP TABLE bug16735660;
--source ../include/no_checkpoint_end.inc
-- connection default
-- source include/kill_mysqld.inc
-- disconnect con1 -- disconnect con1
-- move_file $MYSQLD_DATADIR/test/bug16735660.ibd $MYSQLD_DATADIR/bug16735660.omg -- move_file $MYSQLD_DATADIR/test/bug16735660.ibd $MYSQLD_DATADIR/bug16735660.omg
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment