1
# Let's see if FLUSH TABLES WITH READ LOCK blocks COMMIT of existing
3
# We verify that we did not introduce a deadlock.
4
# This is intended to mimick how mysqldump and innobackup work.
6
-- source include/have_log_bin.inc
8
# And it requires InnoDB
9
-- source include/have_log_bin.inc
10
-- source include/have_innodb.inc
12
connect (con1,localhost,root,,);
13
connect (con2,localhost,root,,);
15
# FLUSH TABLES WITH READ LOCK should block writes to binlog too
17
create table t1 (a int) engine=innodb;
22
flush tables with read lock;