diff options
author | unknown <knielsen@knielsen-hq.org> | 2012-05-08 14:27:44 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2012-05-08 14:27:44 +0200 |
commit | ddd3e261b253856720bd9dc2343a655ecc297e81 (patch) | |
tree | ee6d838b1a255aebf7b35a839d6e992323e35c1b /mysql-test/t/flush-innodb.test | |
parent | 0887c6b9d35005e136260b83da8cfe4e9cd270b7 (diff) | |
download | mariadb-git-ddd3e261b253856720bd9dc2343a655ecc297e81.tar.gz |
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.
Diffstat (limited to 'mysql-test/t/flush-innodb.test')
-rw-r--r-- | mysql-test/t/flush-innodb.test | 9 |
1 files changed, 9 insertions, 0 deletions
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; |