[master] PL end tx to clean txn property
This commit is contained in:
@ -741,10 +741,9 @@ void ObPLContext::destory(
|
|||||||
LOG_DEBUG("explicit end trans success!", K(ret));
|
LOG_DEBUG("explicit end trans success!", K(ret));
|
||||||
}
|
}
|
||||||
} else { // 不确定上层是否会扔回队列重试,因此失败了一定要走同步提交
|
} else { // 不确定上层是否会扔回队列重试,因此失败了一定要走同步提交
|
||||||
if (session_info.get_in_transaction()) {
|
// always call commit/rollback txn in order to reset txn because of autocommit
|
||||||
tmp_ret = implicit_end_trans(session_info, ctx, ret != OB_SUCCESS);
|
tmp_ret = implicit_end_trans(session_info, ctx, ret != OB_SUCCESS);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
ret = OB_SUCCESS == ret ? tmp_ret : ret;
|
ret = OB_SUCCESS == ret ? tmp_ret : ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user