diff options
author | unknown <SergeyV@selena.> | 2005-09-08 12:09:30 +0400 |
---|---|---|
committer | unknown <SergeyV@selena.> | 2005-09-08 12:09:30 +0400 |
commit | 34422f78c17ced6ae43a030a4d772273b7406405 (patch) | |
tree | fb06048fc85d9f8c8e6c1e777b0f70b4e217e8a6 /mysql-test/t/connect.test | |
parent | 1a170dc092f3f65b58ea4f22e3f663a470e2ab0b (diff) | |
download | mariadb-git-34422f78c17ced6ae43a030a4d772273b7406405.tar.gz |
Modified test case for bug #12517
Diffstat (limited to 'mysql-test/t/connect.test')
-rw-r--r-- | mysql-test/t/connect.test | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/mysql-test/t/connect.test b/mysql-test/t/connect.test index 9acc18a0cee..ff15d74e5ac 100644 --- a/mysql-test/t/connect.test +++ b/mysql-test/t/connect.test @@ -6,6 +6,10 @@ # This test makes no sense with the embedded server --source include/not_embedded.inc +--disable_warnings +drop table if exists t1,t2; +--enable_warnings + #connect (con1,localhost,root,,""); #show tables; connect (con1,localhost,root,,mysql); @@ -77,22 +81,18 @@ show tables; delete from mysql.user where user=_binary"test"; flush privileges; -# Test for bug #12517. +# +# Bug#12517: Clear user variables and replication events before +# closing temp tables in thread cleanup. connect (con2,localhost,root,,test); connection con2; -use test; -drop table if exists t1; create table t1 (id integer not null auto_increment primary key); -drop table if exists t2; create temporary table t2(id integer not null auto_increment primary key); set @id := 1; delete from t1 where id like @id; disconnect con2; -sleep 5; -connect (con1,localhost,root,,test); -connection con1; -use test; -drop table if exists t2; -drop table if exists t1; +--sleep 5 +connection default; +drop table t1; # End of 4.1 tests |