include/master-slave.inc
[connection master]
CREATE TABLE t1 (a INT);
INSERT INTO t1 VALUES (1);
DROP TABLE t1;
connection slave;
==== Check that we still understand the old format of relay-log.info ====
include/stop_slave.inc
include/reset_slave.inc
# Read relay-log.info
START SLAVE IO_THREAD;
include/wait_for_slave_io_to_start.inc
# Check that relay log coordinates are equal to those we saved in old-format_relay-log.info
= , 0, slave-relay-bin.000001, 4
#
# MDEV-38020: Master & relay log info files read 2^31 and above incorrectly
#
connection server_2;
include/stop_slave.inc
include/rpl_restart_server.inc [server_number=2 parameters: --skip-slave-start]
include/assert.inc [relay_log_pos should be 2147483648 after restart]
include/rpl_end.inc
