Loading mysql-test/r/connect.result +2 −12 Original line number Diff line number Diff line drop table if exists t1,t2; show tables; Tables_in_mysql columns_priv Loading Loading @@ -65,19 +66,8 @@ show tables; Tables_in_test delete from mysql.user where user=_binary"test"; flush privileges; use test; drop table if exists t1; Warnings: Note 1051 Unknown table 't1' create table t1 (id integer not null auto_increment primary key); drop table if exists t2; Warnings: Note 1051 Unknown table 't2' create temporary table t2(id integer not null auto_increment primary key); set @id := 1; delete from t1 where id like @id; use test; drop table if exists t2; Warnings: Note 1051 Unknown table 't2' drop table if exists t1; drop table t1; mysql-test/t/connect.test +10 −10 Original line number Diff line number Diff line Loading @@ -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); Loading Loading @@ -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 Loading
mysql-test/r/connect.result +2 −12 Original line number Diff line number Diff line drop table if exists t1,t2; show tables; Tables_in_mysql columns_priv Loading Loading @@ -65,19 +66,8 @@ show tables; Tables_in_test delete from mysql.user where user=_binary"test"; flush privileges; use test; drop table if exists t1; Warnings: Note 1051 Unknown table 't1' create table t1 (id integer not null auto_increment primary key); drop table if exists t2; Warnings: Note 1051 Unknown table 't2' create temporary table t2(id integer not null auto_increment primary key); set @id := 1; delete from t1 where id like @id; use test; drop table if exists t2; Warnings: Note 1051 Unknown table 't2' drop table if exists t1; drop table t1;
mysql-test/t/connect.test +10 −10 Original line number Diff line number Diff line Loading @@ -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); Loading Loading @@ -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