summaryrefslogtreecommitdiff
path: root/mysql-test/suite/rpl/t/rpl_timestamp.test
blob: a3f4010f24aece0bcc4712205edbdda93128b073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
source include/master-slave.inc;

set timestamp=1656940000;
set explicit_defaults_for_timestamp=!@@explicit_defaults_for_timestamp;
connection master;

create table t1 (f1 timestamp, f2 timestamp);
show create table t1;
sync_slave_with_master;
show create table t1;
connection master;
drop table t1;
flush binary logs;

let $datadir=`select @@datadir`;
exec $MYSQL_BINLOG -s $datadir/master-bin.000001;

source include/rpl_end.inc;