summaryrefslogtreecommitdiff
path: root/mysql-test/r/connect.result
diff options
context:
space:
mode:
authorunknown <SergeyV@selena.>2005-08-30 17:22:19 +0400
committerunknown <SergeyV@selena.>2005-08-30 17:22:19 +0400
commit1a170dc092f3f65b58ea4f22e3f663a470e2ab0b (patch)
tree73279c73ea469231d037484eb34ad8ec4bc25413 /mysql-test/r/connect.result
parent8dd3a7d9a7cc9320478774ae8be0e66dfc73acb0 (diff)
downloadmariadb-git-1a170dc092f3f65b58ea4f22e3f663a470e2ab0b.tar.gz
Fixes bug #12517. Clear user variables and replication events before
closing temp tables in thread cleanup. mysql-test/r/connect.result: added results for test of bug #12517 mysql-test/t/connect.test: added test of bug #12517 sql/sql_class.cc: Clear user variables and replication events before closing temp tables in thread cleanup.
Diffstat (limited to 'mysql-test/r/connect.result')
-rw-r--r--mysql-test/r/connect.result16
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/r/connect.result b/mysql-test/r/connect.result
index edf30e7f6e4..293ad37c31a 100644
--- a/mysql-test/r/connect.result
+++ b/mysql-test/r/connect.result
@@ -65,3 +65,19 @@ 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;