mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 11:57:38 +02:00
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.
This commit is contained in:
parent
0887c6b9d3
commit
ddd3e261b2
3 changed files with 23 additions and 0 deletions
9
mysql-test/t/flush-innodb.test
Normal file
9
mysql-test/t/flush-innodb.test
Normal file
|
|
@ -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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue