• mats@capulet.kindahl.net's avatar
    BUG#12691 (Exec_master_log_pos corrupted with SQL_SLAVE_SKIP_COUNTER): · f1c32705
    mats@capulet.kindahl.net authored
    Complementary patch since LOAD DATA INFILE was not covered in
    the previous patch.
    
    This patch adds a check so that the slave skip counter is not
    decreased to zero if seeing a BEGIN_LOAD_QUERY_EVENT,
    APPEND_BLOCK_EVENT, or CREATE_FILE_EVENT since these cannot
    end a group. The group is terminated by an EXECUTE_LOAD_QUERY_
    EVENT or DELETE_FILE_EVENT.
    f1c32705
slave.cc 174 KB