• unknown's avatar
    Fix for BUG#1086. Now we don't preserve event's log_pos through · e3541b8a
    unknown authored
    log-slave-updates since this causes unexpected values in 
    Exec_master_log_pos in A->B->C replication setup, synchronization
     problems in master_pos_wait()... 
    Still this brokes some functionality in sql/repl_failsafe.cc 
    (but this file is not used now)
    
    
    mysql-test/r/rpl_log.result:
      SHOW BINLOG EVENTS for binlog on slave should give the same 
      Orig_log_pos and Pos values
    sql/log_event.cc:
      Do not propagate our master's log pos to our bin log
    sql/repl_failsafe.cc:
      Added comment about broken SHOW NEW MASTER
    sql/slave.cc:
      Do not propagate our master's log pos to our bin log
    sql/sql_class.cc:
      THD::log_pos is no longer needed
    sql/sql_class.h:
      THD::log_pos is no longer needed
    sql/sql_parse.cc:
      Added comment about broken SHOW NEW MASTER
    e3541b8a
sql_class.cc 21.5 KB