to issue<54750206>:select udf donot open transaction if udf has no dml stmt

This commit is contained in:
hanr881
2024-02-19 13:46:54 +00:00
committed by ob-robot
parent b6cdfaef1c
commit eb4ce0dc71
7 changed files with 32 additions and 16 deletions

View File

@ -7982,6 +7982,7 @@ int ObStaticEngineCG::set_other_properties(const ObLogPlan &log_plan, ObPhysical
} else {/*do nothing*/}
if (OB_SUCC(ret)) {
phy_plan_->set_contain_pl_udf_or_trigger(log_plan.get_stmt()->get_query_ctx()->has_pl_udf_);
phy_plan_->set_udf_has_dml_stmt(log_plan.get_stmt()->get_query_ctx()->udf_has_dml_stmt_);
}
}
if (OB_SUCC(ret)) {