From 312219cc63fd49734b3369cc41cdc0f5cf2aaa7f Mon Sep 17 00:00:00 2001 From: Kristian Nielsen Date: Tue, 24 Jun 2014 14:43:08 +0200 Subject: MDEV-6364: Migrate a slave from MySQL 5.6 to MariaDB 10 break replication MySQL 5.6 implemented WL#344, which is about a MASTER_DELAY option to CHANGE MASTER. But as part of this worklog, the format of the realy-log.info file was changed. The new format is not understood by earlier versions, and nor by MariaDB 10.0, so changing server to those versions would cause the slave to abort with an error due to reading incorrect data out of relay-log.info. Fix this by backporting from the WL#344 patch just the code that understands the new relay-log.info format. We still write out the old format, and none of the MASTER_DELAY feature is backported with this commit. --- mysql-test/std_data/old-format-relay-log-win.info | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 mysql-test/std_data/old-format-relay-log-win.info (limited to 'mysql-test/std_data/old-format-relay-log-win.info') diff --git a/mysql-test/std_data/old-format-relay-log-win.info b/mysql-test/std_data/old-format-relay-log-win.info new file mode 100644 index 00000000000..7673de6b956 --- /dev/null +++ b/mysql-test/std_data/old-format-relay-log-win.info @@ -0,0 +1,4 @@ +.\slave-relay-bin.000001 +4 + +0 -- cgit v1.2.1