• Mats Kindahl's avatar
    Ensuring that master and slave both issue a RESET MASTER and RESET SLAVE · d034ae59
    Mats Kindahl authored
    when resetting replication tests.  If not, circular replication setups
    will leave cruft in the slaves binary log.
    
    mysql-test/include/master-slave-reset.inc:
      Adding RESET MASTER on slave and RESET SLAVE on master. In order to avoid
      having to re-generate all the replication test result files, I disable the
      query log for the added statements.
    mysql-test/suite/rpl/t/rpl_flushlog_loop.test:
      Adding code to clean up after test. Disabling query log for the cleanup code.
    d034ae59
master-slave-reset.inc 939 Bytes