to issue<54195061>:fix dml + udt(pl complex var) issue

This commit is contained in:
hanr881
2024-01-15 08:13:48 +00:00
committed by ob-robot
parent 1746fe67c6
commit 064807bc6b
8 changed files with 121 additions and 64 deletions

View File

@ -1111,8 +1111,8 @@ int ObRawExprUtils::resolve_udf_param_exprs(ObResolverParams &params,
ObConstRawExpr *c_expr = static_cast<ObConstRawExpr*>(iexpr);
ExternalParams& extern_params = params.external_param_info_;
for (int i = 0; OB_SUCC(ret) && i < extern_params.count(); ++i) {
if (extern_params.at(i).second->same_as(*c_expr)) {
ObRawExpr *rawexpr = extern_params.at(i).first;
if (extern_params.at(i).element<1>()->same_as(*c_expr)) {
ObRawExpr *rawexpr = extern_params.at(i).element<0>();
if (T_OBJ_ACCESS_REF == rawexpr->get_expr_type()) {
OZ (pl::ObPLResolver::set_write_property(
rawexpr, *(params.expr_factory_), params.session_info_, params.schema_checker_->get_schema_guard(), true));