• unknown's avatar
    show master forced rotate info in SHOW BINLOG EVENTS · 16aefaaa
    unknown authored
    mark a master-forced rotate with a special flag
    
    
    mysql-test/r/rpl000014.result:
      updated result
    mysql-test/r/rpl000015.result:
      updated result
    mysql-test/r/rpl000016.result:
      updated result
    mysql-test/r/rpl_log.result:
      updated result
    mysql-test/t/rpl000017-slave.sh:
      fix for change in master.info format
    mysql-test/t/rpl_log.test:
      test for correct last_log_seq in show slave status
    sql/log.cc:
      mark a master-forced rotate with a special flag
    sql/log_event.cc:
      show master forced rotate info in SHOW BINLOG EVENTS
    sql/log_event.h:
      master forced rotation flag
    sql/slave.cc:
      keep trace of last log sequences in MASTER_INFO
      do not rotate on slave, if the rotation on master was forced by its master
    sql/slave.h:
      keep track of last log sequence number in MASTER_INFO
    16aefaaa
log.cc 26.2 KB