From ddd3e261b253856720bd9dc2343a655ecc297e81 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 8 May 2012 14:27:44 +0200 Subject: MDEV-254: Server hang with FLUSH TABLES WITH READ LOCK AND DISABLE CHECKPOINT The code to re-enable checkpointing after UNLOCK TABLES was lost in the 5.5 merge, so re-add it back in. --- mysql-test/t/flush-innodb.test | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 mysql-test/t/flush-innodb.test (limited to 'mysql-test/t') diff --git a/mysql-test/t/flush-innodb.test b/mysql-test/t/flush-innodb.test new file mode 100644 index 00000000000..207032b1acb --- /dev/null +++ b/mysql-test/t/flush-innodb.test @@ -0,0 +1,9 @@ +--source include/have_innodb.inc + +# MDEV-254: Server hang with FLUSH TABLES WITH READ LOCK AND DISABLE CHECKPOINT +FLUSH TABLES WITH READ LOCK AND DISABLE CHECKPOINT; +UNLOCK TABLES; +CREATE TABLE t1 ( m MEDIUMTEXT ) ENGINE=InnoDB; +INSERT INTO t1 VALUES ( REPEAT('i',1048576) ); + +DROP TABLE t1; -- cgit v1.2.1