summaryrefslogtreecommitdiff
path: root/mysql-test/suite/binlog/r/binlog_stm_drop_tmp_tbl.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/binlog/r/binlog_stm_drop_tmp_tbl.result')
-rw-r--r--mysql-test/suite/binlog/r/binlog_stm_drop_tmp_tbl.result21
1 files changed, 21 insertions, 0 deletions
diff --git a/mysql-test/suite/binlog/r/binlog_stm_drop_tmp_tbl.result b/mysql-test/suite/binlog/r/binlog_stm_drop_tmp_tbl.result
new file mode 100644
index 00000000000..dc4349dea59
--- /dev/null
+++ b/mysql-test/suite/binlog/r/binlog_stm_drop_tmp_tbl.result
@@ -0,0 +1,21 @@
+drop database if exists `drop-temp+table-test`;
+reset master;
+create database `drop-temp+table-test`;
+use `drop-temp+table-test`;
+create temporary table shortn1 (a int);
+create temporary table `table:name` (a int);
+create temporary table shortn2 (a int);
+select get_lock("a",10);
+get_lock("a",10)
+1
+select get_lock("a",10);
+get_lock("a",10)
+1
+show binlog events from <binlog_start>;
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Query # # create database `drop-temp+table-test`
+master-bin.000001 # Query # # use `drop-temp+table-test`; create temporary table shortn1 (a int)
+master-bin.000001 # Query # # use `drop-temp+table-test`; create temporary table `table:name` (a int)
+master-bin.000001 # Query # # use `drop-temp+table-test`; create temporary table shortn2 (a int)
+master-bin.000001 # Query # # use `drop-temp+table-test`; DROP /*!40005 TEMPORARY */ TABLE IF EXISTS `drop-temp+table-test`.`shortn2`,`drop-temp+table-test`.`table:name`,`drop-temp+table-test`.`shortn1`
+drop database `drop-temp+table-test`;