• Alfranio Correia's avatar
    BUG#46129 Failing mixed stm (with trans and non-trans tables) causes wrong seq in · b991b396
    Alfranio Correia authored
    binlog
          
    The fix for BUG 43929 introduced a regression issue. In a nutshell, when a
    statement that changes a non-transactional table fails, it is written to the
    binary log with the error code appended. Unfortunately, after BUG 43929, this
    failure was flushing the transactional chace causing mismatch between execution
    and logging histories. To fix this issue, we avoid flushing the transactional
    cache when a commit or rollback is not issued.
    b991b396
log.cc 159 KB