summaryrefslogtreecommitdiff
path: root/mysql-test/t/schema.test
diff options
context:
space:
mode:
authorJon Olav Hauglid <jon.hauglid@sun.com>2010-07-02 11:54:14 +0200
committerJon Olav Hauglid <jon.hauglid@sun.com>2010-07-02 11:54:14 +0200
commit8e154c93ab1df7a488fea44dee67bab66c107599 (patch)
treeacce414ead681195f80651a52f4cfdc8e03b696f /mysql-test/t/schema.test
parent3ffa8b3b90b551ea558ebf9323f1b34376605188 (diff)
downloadmariadb-git-8e154c93ab1df7a488fea44dee67bab66c107599.tar.gz
Followup for Bug #54360 Deadlock DROP/ALTER/CREATE DATABASE
with open HANDLER Fixes a problem with schema.test visible using embedded server. The HANDLER was not closed which caused the test to hang. The problem was not visible if the test was run on a normal server as the the handler there was implicitly closed by DATABASE DDL statements doing Events::drop_schema_events().
Diffstat (limited to 'mysql-test/t/schema.test')
-rw-r--r--mysql-test/t/schema.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/t/schema.test b/mysql-test/t/schema.test
index e3592f39780..ed3b98ec2f7 100644
--- a/mysql-test/t/schema.test
+++ b/mysql-test/t/schema.test
@@ -133,6 +133,7 @@ connection con1;
CREATE DATABASE db2;
ALTER DATABASE db2 DEFAULT CHARACTER SET utf8;
DROP DATABASE db2;
+HANDLER t1 CLOSE;
--echo # Connection default
connection default;