--source include/master-slave.inc create table t1(f1 int); insert into t1 values(1); select 1; show global variables like 'gtid_executed'; flush logs; show global variables like 'gtid_executed'; --sync_slave_with_master --connection master flush slow logs; show global variables like 'gtid_executed'; --sync_slave_with_master --vertical_results show slave status; --connection master drop table t1; --sync_slave_with_master stop slave;