[CP] fix error report when handle trans result for remote execute sql
This commit is contained in:
@ -100,13 +100,16 @@ int ObRemoteTaskExecutor::execute(ObExecContext &query_ctx, ObJob *job, ObTaskIn
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// handle tx relative info if plan involved in transaction
|
// handle tx relative info if plan involved in transaction
|
||||||
|
const ObPhysicalPlan *plan = plan_ctx->get_phy_plan();
|
||||||
|
if (plan && plan->is_need_trans()) {
|
||||||
int tmp_ret = handle_tx_after_rpc(handler->get_result(),
|
int tmp_ret = handle_tx_after_rpc(handler->get_result(),
|
||||||
session,
|
session,
|
||||||
has_sent_task,
|
has_sent_task,
|
||||||
has_transfer_err,
|
has_transfer_err,
|
||||||
plan_ctx->get_phy_plan(),
|
plan,
|
||||||
query_ctx);
|
query_ctx);
|
||||||
ret = COVER_SUCC(tmp_ret);
|
ret = COVER_SUCC(tmp_ret);
|
||||||
|
}
|
||||||
|
|
||||||
if (OB_SUCC(ret)) {
|
if (OB_SUCC(ret)) {
|
||||||
ObExecFeedbackInfo &fb_info = handler->get_result()->get_feedback_info();
|
ObExecFeedbackInfo &fb_info = handler->get_result()->get_feedback_info();
|
||||||
|
|||||||
Reference in New Issue
Block a user