• mats@kindahl-laptop.dnsalias.net's avatar
    BUG#28618 (Skipping into the middle of a group with SQL_SLAVE_SKIP_COUNTER · f2ba11c3
    mats@kindahl-laptop.dnsalias.net authored
    is possible):
    
    When skipping the beginning of a transaction starting with BEGIN, the OPTION_BEGIN
    flag was not set correctly, which caused the slave to not recognize that it was
    inside a group. This patch sets the OPTION_BEGIN flag for BEGIN, COMMIT, ROLLBACK,
    and XID events. It also adds checks if inside a group before decreasing the
    slave skip counter to zero.
    
    Begin_query_log_event was not marked that it could not end a group, which is now
    corrected.
    f2ba11c3
rpl_slave_skip.test 7.23 KB