mysql-test/suite/rpl/t/rpl_timestamp.test
raw| 1 | source include/master-slave.inc; |
| 2 | |
| 3 | set timestamp=1656940000; |
| 4 | set explicit_defaults_for_timestamp=!@@explicit_defaults_for_timestamp; |
| 5 | connection master; |
| 6 | |
| 7 | create table t1 (f1 timestamp, f2 timestamp); |
| 8 | show create table t1; |
| 9 | sync_slave_with_master; |
| 10 | show create table t1; |
| 11 | connection master; |
| 12 | drop table t1; |
| 13 | flush binary logs; |
| 14 | |
| 15 | let $datadir=`select @@datadir`; |
| 16 | exec $MYSQL_BINLOG -s $datadir/master-bin.000001; |
| 17 | |
| 18 | source include/rpl_end.inc; |