summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2009-02-25 11:42:58 +0100
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2009-02-25 11:42:58 +0100
commitda3c4375cfe9530c04525ff6694e5f59f354c144 (patch)
treeebef6ad44e0bfed59b9e5bdd92c787446fc9ab5b
parent620438fdaef079216609bfcb0a8cb7b58c950e1e (diff)
downloadmariadb-git-da3c4375cfe9530c04525ff6694e5f59f354c144.tar.gz
Clean up test case to not leave open connections.
mysql-test/include/handler.inc: Disconnect open connections once they are not being used.
-rw-r--r--mysql-test/include/handler.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/include/handler.inc b/mysql-test/include/handler.inc
index 04f4cac831d..4eb9e413822 100644
--- a/mysql-test/include/handler.inc
+++ b/mysql-test/include/handler.inc
@@ -479,6 +479,7 @@ handler t1 open;
--echo --> client 1
connection default;
drop table t1;
+disconnect con2;
#
# Bug#30632 HANDLER read failure causes hang
@@ -717,4 +718,5 @@ handler t1 close;
connection con1;
--reap
drop table t1;
+disconnect con1;
connection default;