• unknown's avatar
    Fix for BUG#5705: "SET CHARATER_SET_SERVERetc will be lost if STOP SLAVE before following query": · b76d3b4f
    unknown authored
    we do not increment rli->group_master_log_pos if we are just after a SET ONE_SHOT (it's not a standalone event)
    
    
    mysql-test/r/rpl_charset.result:
      testing interruption of slave SQL thread between SET CHARACTER_SET_SERVER... and the companion INSERT.
    mysql-test/t/rpl_charset.test:
      testing interruption of slave SQL thread between SET CHARACTER_SET_SERVER... and the companion INSERT.
    sql/log_event.cc:
      we do not increment rli->group_master_log_pos if we are just after a SET
      ONE_SHOT, because SET ONE_SHOT should not be separated from its following
      updating query.
    b76d3b4f
log_event.cc 91.5 KB