• Marko Mäkelä's avatar
    MDEV-14614 InnoDB: Failing assertion: trx->error_state == DB_SUCCESS or lock... · 40eee1da
    Marko Mäkelä authored
    MDEV-14614 InnoDB: Failing assertion: trx->error_state == DB_SUCCESS or lock wait timeout upon saving statistics
    
    The assertion failure was caused by
    MDEV-14511 Use fewer transactions for updating InnoDB persistent statistics
    
    We are reusing a transaction object after commit, and sometimes,
    even after a successful operation, the trx_t::error_state may be
    something else than DB_SUCCESS. Reset the field when needed.
    40eee1da
ha_innodb.cc 647 KB