diff options
author | Matthias Leich <Matthias.Leich@sun.com> | 2009-03-10 18:21:35 +0100 |
---|---|---|
committer | Matthias Leich <Matthias.Leich@sun.com> | 2009-03-10 18:21:35 +0100 |
commit | 0614532a92d482eb31b6a2e1043f2b3b612b2e1f (patch) | |
tree | 9f160b5e7c091a7a783d54488d6287750426e7ec /mysql-test/t/dirty_close.test | |
parent | 636d8c50621366facfbd9417a5f25ebcc5c76b91 (diff) | |
parent | 0183d4d8422ba29a632eebb1e856391f2b9a289f (diff) | |
download | mariadb-git-0614532a92d482eb31b6a2e1043f2b3b612b2e1f.tar.gz |
Merge of fix into actual tree
Diffstat (limited to 'mysql-test/t/dirty_close.test')
-rw-r--r-- | mysql-test/t/dirty_close.test | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/mysql-test/t/dirty_close.test b/mysql-test/t/dirty_close.test index f1c2c88ae83..1bbd53e8c06 100644 --- a/mysql-test/t/dirty_close.test +++ b/mysql-test/t/dirty_close.test @@ -1,3 +1,7 @@ + +# Save the initial number of concurrent sessions +--source include/count_sessions.inc + connect (con1,localhost,root,,); connect (con2,localhost,root,,); connection con1; @@ -5,12 +9,19 @@ dirty_close con1; connection con2; --disable_warnings -drop table if exists t1; +DROP TABLE IF EXISTS t1; --enable_warnings -create table t1 (n int); -insert into t1 values (1),(2),(3); -select * from t1; -drop table t1; +CREATE TABLE t1 (n INT); +INSERT INTO t1 VALUES (1),(2),(3); +SELECT * FROM t1; +DROP TABLE t1; + +connection default; +disconnect con2; # End of 4.1 tests + +# Wait till all disconnects are completed +--source include/wait_until_count_sessions.inc + |