[CP]to issue<53615144>:fix package var serialize issue

This commit is contained in:
obdev
2024-02-08 00:59:45 +00:00
committed by ob-robot
parent b6e86399fb
commit 833df1e858
4 changed files with 26 additions and 2 deletions

View File

@ -686,7 +686,8 @@ public:
res_map_rule_id_(common::OB_INVALID_ID),
res_map_rule_param_idx_(common::OB_INVALID_INDEX),
root_stmt_(NULL),
udf_has_select_stmt_(false)
udf_has_select_stmt_(false),
has_pl_udf_(false)
{
}
TO_STRING_KV(N_PARAM_NUM, question_marks_count_,
@ -731,6 +732,7 @@ public:
res_map_rule_param_idx_ = common::OB_INVALID_INDEX;
root_stmt_ = NULL;
udf_has_select_stmt_ = false;
has_pl_udf_ = false;
}
int64_t get_new_stmt_id() { return stmt_count_++; }
@ -814,6 +816,7 @@ public:
int64_t res_map_rule_param_idx_;
ObDMLStmt *root_stmt_;
bool udf_has_select_stmt_; // udf has select stmt, not contain other dml stmt
bool has_pl_udf_; // used to mark sql contain pl udf
};
} /* ns sql*/
} /* ns oceanbase */