| 1 |
# |
| 2 |
# The test verifies proper computation of logical timestamps and |
| 3 |
# their logging when GTID is ON in few situations. |
| 4 |
# |
| 5 |
--source include/have_binlog_format_mixed.inc |
| 6 |
--source include/force_myisam_default.inc |
| 7 |
--source include/have_myisam.inc |
| 8 |
|
| 9 |
# |
| 10 |
# Testing DROP of multiple tables logging |
| 11 |
# |
| 12 |
--let $binlog_file= binlog.000001 |
| 13 |
|
| 14 |
CREATE TABLE t1 (a int) ENGINE= innodb; |
| 15 |
CREATE TABLE tm (a int) ENGINE= MyISAM; |
| 16 |
RESET MASTER; |
| 17 |
CREATE TEMPORARY TABLE ttm1 (a INT) ENGINE=MyISAM; |
| 18 |
CREATE TEMPORARY TABLE tti1 (a INT) ENGINE=Innodb; |
| 19 |
|
| 20 |
--echo *** The query is logged in four part. |
| 21 |
|
| 22 |
DROP TABLE tm,t1,ttm1,tti1; |
| 23 |
|
| 24 |
--let $logical_timestamps= 0 1;1 2;2 3;3 4;4 5;5 6 |
| 25 |
# CREATE/DROP TEMPORARY TABLE is not binlogged under MIXED |
| 26 |
--let $logical_timestamps_mix= 0 1;1 2 |
| 27 |
--source include/assert_logical_timestamps.inc |