summaryrefslogtreecommitdiff
path: root/mysql-test/t/drop_temp_table.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/drop_temp_table.test')
-rw-r--r--mysql-test/t/drop_temp_table.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/drop_temp_table.test b/mysql-test/t/drop_temp_table.test
new file mode 100644
index 00000000000..4849e998bf5
--- /dev/null
+++ b/mysql-test/t/drop_temp_table.test
@@ -0,0 +1,13 @@
+connect (con1,localhost,root,,);
+connect (con2,localhost,root,,);
+connection con1;
+reset master;
+create database `drop-temp+table-test`;
+use `drop-temp+table-test`;
+create temporary table `table:name` (a int);
+disconnect con1;
+connection con2;
+let $VERSION=`select version()`;
+--replace_result $VERSION VERSION
+show binlog events;
+drop database `drop-temp+table-test`;