[master][tx-route] mark static changed when tx switch from IDLE to ABORT

This commit is contained in:
chinaxing
2023-03-15 12:41:06 +00:00
committed by ob-robot
parent 9e1730c42d
commit f419c12e6c
3 changed files with 11 additions and 4 deletions

View File

@ -864,7 +864,7 @@ int ObSqlTransControl::end_stmt(ObExecContext &exec_ctx, const bool rollback)
OX (ObTransDeadlockDetectorAdapter::maintain_deadlock_info_when_end_stmt(exec_ctx, rollback));
auto &tx_result = session->get_trans_result();
if (OB_FAIL(ret)) {
} else if (tx_result.is_incomplete()) {
} else if (OB_E(EventTable::EN_TX_RESULT_INCOMPLETE, session->get_sessid()) tx_result.is_incomplete()) {
if (!rollback) {
LOG_ERROR("trans result incomplete, but rollback not issued");
}