• Mats Kindahl's avatar
    Bug #32709: Assertion failed: trx_data->empty(), file log.cc · 9755f072
    Mats Kindahl authored
    The assertion indicates that some data was left in the transaction
    cache when the server was shut down, which means that a previous
    statement did not commit or rollback correctly.
    
    What happened was that a bug in the rollback of a transactional
    table caused the transaction cache to be emptied, but not reset.
    The error can be triggered by having a failing UPDATE or INSERT,
    on a transactional table, causing an implicit rollback.
    
    Fixed by always flushing the pending event to reset the state
    properly.
    9755f072
sql_class.cc 101 KB