[to #55037202]ObCreateRoutineArg adds if not exist to occupy space on master.

This commit is contained in:
swjtu-wenxiang
2024-02-20 03:16:59 +00:00
committed by ob-robot
parent 153ca78ad2
commit 59253e749c
2 changed files with 6 additions and 3 deletions

View File

@ -6762,7 +6762,7 @@ struct ObCreateRoutineArg : public ObDDLArg
{
OB_UNIS_VERSION(1);
public:
ObCreateRoutineArg(): routine_info_(), db_name_(), is_or_replace_(false), is_need_alter_(false), error_info_() {}
ObCreateRoutineArg(): routine_info_(), db_name_(), is_or_replace_(false), is_need_alter_(false), error_info_(), with_if_not_exist_(false) {}
virtual ~ObCreateRoutineArg() {}
bool is_valid() const;
int assign(const ObCreateRoutineArg &other);
@ -6771,7 +6771,8 @@ public:
K_(is_or_replace),
K_(is_need_alter),
K_(error_info),
K_(dependency_infos));
K_(dependency_infos),
K_(with_if_not_exist));
share::schema::ObRoutineInfo routine_info_;
common::ObString db_name_;
@ -6779,6 +6780,7 @@ public:
bool is_need_alter_; // used in mysql mode
share::schema::ObErrorInfo error_info_;
common::ObSArray<share::schema::ObDependencyInfo> dependency_infos_;
bool with_if_not_exist_;
};
struct ObDropRoutineArg : public ObDDLArg