• Michael Widenius's avatar
    Fix for MDEV-4117 @@global.relay_log_purge not per-master, conflicts between... · 0a20d762
    Michael Widenius authored
    Fix for MDEV-4117 @@global.relay_log_purge not per-master, conflicts between different masters in multisource replication
    
    The fix is to not change @relay_log_purge as part of the CHANGE MASTER.
    (There is no logical reason why this is done in the current source)
    
    mysql-test/suite/rpl/r/rpl_slave_status.result:
      Ensure that CHANGE MASTER doesn't change relay_log_purge
    mysql-test/suite/rpl/t/rpl_slave_status.test:
      Ensure that CHANGE MASTER doesn't change relay_log_purge
    sql/sql_repl.cc:
      Don't change relay_log_purge in CHANGE MASTER
    0a20d762
sql_repl.cc 132 KB