Fix and Update Mysql Test due to the merge of WR

This commit is contained in:
AntiTopQuark
2023-08-28 09:40:30 +00:00
committed by ob-robot
parent 694222c773
commit 587e41a93c
2 changed files with 6 additions and 0 deletions

View File

@ -456,6 +456,9 @@ int ObSqlTransControl::do_end_trans_(ObSQLSessionInfo *session,
LOG_WARN("fail to inc session ref", K(ret));
} else {
callback->handout();
// Add ASH flags to async commit of transactions
// In the end of async commit in func named ` ObEndTransAsyncCallback::callback() `,
// set the ash flag named `in_committing_` to false.
ObActiveSessionGuard::get_stat().in_committing_ = true;
if(OB_FAIL(txs->submit_commit_tx(*tx_ptr, expire_ts, *callback, &trace_info))) {
LOG_WARN("submit commit tx fail", K(ret), KP(callback), K(expire_ts), KPC(tx_ptr));