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
commit682a8fbb1187d1130ed59826c41d324f82accc27 (patch)
tree439d4dc637cdb4e3acaf3300ad2c9755da87140b /mysql-test/t/flush_block_commit.test
parent4579806f464234e52e2d1b222980937fc8ecf896 (diff)
parent352ad8156cc7bd8dc728715569a3bc350108513e (diff)
downloadmariadb-git-682a8fbb1187d1130ed59826c41d324f82accc27.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;