Commit 07ce37f6 authored by Horst Hunger's avatar Horst Hunger

Reviewed patch for Bug#39862.

parent db08d4f6
...@@ -11,6 +11,11 @@ ...@@ -11,6 +11,11 @@
# Creation Date: 2008-03-07 # # Creation Date: 2008-03-07 #
# Author: Salman Rawala # # Author: Salman Rawala #
# # # #
# Modified: HHunger 2009-02-23 Inserted a wait condition right after the #
# "INSERT ..record_6" to wait for the end of #
# the insert. #
# mleich This test needs some inporovements #
# #
# Description: Test Cases of Dynamic System Variable "concurrent_insert" # # Description: Test Cases of Dynamic System Variable "concurrent_insert" #
# that checks functionality of this variable # # that checks functionality of this variable #
# # # #
...@@ -62,7 +67,6 @@ connection test_con1; ...@@ -62,7 +67,6 @@ connection test_con1;
INSERT INTO t1(name) VALUES('Record_4'); INSERT INTO t1(name) VALUES('Record_4');
SELECT * FROM t1; SELECT * FROM t1;
--echo ## unlocking tables ## --echo ## unlocking tables ##
--echo connection default; --echo connection default;
connection default; connection default;
...@@ -106,6 +110,8 @@ UNLOCK TABLES; ...@@ -106,6 +110,8 @@ UNLOCK TABLES;
--echo ## table contens after UNLOCK ## --echo ## table contens after UNLOCK ##
SELECT * FROM t1; SELECT * FROM t1;
INSERT INTO t1(name) VALUES('Record_6'); INSERT INTO t1(name) VALUES('Record_6');
let $wait_condition= SELECT COUNT(*) = 5 FROM t1;
--source include/wait_condition.inc
--echo connection test_con1; --echo connection test_con1;
connection test_con1; connection test_con1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment