summaryrefslogtreecommitdiff
path: root/mysql-test/t/flush_block_commit.test
diff options
context:
space:
mode:
authorunknown <guilhem@mysql.com>2004-11-30 22:22:12 +0100
committerunknown <guilhem@mysql.com>2004-11-30 22:22:12 +0100
commita9c794f1c44befc660838dac5a9c1201577bf392 (patch)
tree439d4dc637cdb4e3acaf3300ad2c9755da87140b /mysql-test/t/flush_block_commit.test
parenta899d4e6b9d4066ea1703592156bd22e0eb3d99e (diff)
parentfff5c910e59f91f81ca14e756c21f22c186a331c (diff)
downloadmariadb-git-a9c794f1c44befc660838dac5a9c1201577bf392.tar.gz
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/mysql_src/mysql-4.1-clean mysql-test/r/flush_block_commit.result: Auto merged mysql-test/t/flush_block_commit.test: Auto merged sql/lock.cc: Auto merged
Diffstat (limited to 'mysql-test/t/flush_block_commit.test')
-rw-r--r--mysql-test/t/flush_block_commit.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/flush_block_commit.test b/mysql-test/t/flush_block_commit.test
index 3d13086f517..ac14b7b98bc 100644
--- a/mysql-test/t/flush_block_commit.test
+++ b/mysql-test/t/flush_block_commit.test
@@ -48,5 +48,19 @@ reap;
connection con3;
reap;
unlock tables;
+
+# BUG#6732 FLUSH TABLES WITH READ LOCK + COMMIT hangs later FLUSH TABLES
+# WITH READ LOCK
+
+connection con2;
+commit; # unlock InnoDB row locks to allow insertions
connection con1;
+begin;
+insert into t1 values(10);
+flush tables with read lock;
+commit;
+unlock tables;
+connection con2;
+flush tables with read lock; # bug caused hang here
+unlock tables;
drop table t1;