• Kristian Nielsen's avatar
    MDEV-6364: Migrate a slave from MySQL 5.6 to MariaDB 10 break replication · 312219cc
    Kristian Nielsen authored
    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.
    312219cc
old-format-relay-log.info 30 Bytes