• Alfranio Correia's avatar
    BUG#46129 Failing mixed stm (with trans and non-trans tables) causes wrong seq in · f16fe16d
    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.
    f16fe16d
log.cc 159 KB