Reserve rpc values

This commit is contained in:
wjhh2008 2024-02-08 07:01:24 +00:00 committed by ob-robot
parent 66175f5563
commit d1be848098
2 changed files with 5 additions and 2 deletions

View File

@ -4276,6 +4276,7 @@ int ObCreateUserArg::assign(const ObCreateUserArg &other)
if_not_exist_ = other.if_not_exist_;
creator_id_ = other.creator_id_;
primary_zone_ = other.primary_zone_;
is_create_role_ = other.is_create_role_;
if (OB_FAIL(ObDDLArg::assign(other))) {
LOG_WARN("fail to assign ddl arg", KR(ret));
} else if (OB_FAIL(user_infos_.assign(other.user_infos_))) {
@ -4289,7 +4290,8 @@ OB_SERIALIZE_MEMBER((ObCreateUserArg, ObDDLArg),
user_infos_,
if_not_exist_,
creator_id_,
primary_zone_);
primary_zone_,
is_create_role_);
bool ObDropUserArg::is_valid() const
{

View File

@ -5037,7 +5037,7 @@ struct ObCreateUserArg : public ObDDLArg
public:
ObCreateUserArg() : ObDDLArg(), tenant_id_(common::OB_INVALID_ID), if_not_exist_(false),
creator_id_(common::OB_INVALID_ID), primary_zone_()
creator_id_(common::OB_INVALID_ID), primary_zone_(), is_create_role_(false)
{}
virtual ~ObCreateUserArg()
{}
@ -5051,6 +5051,7 @@ public:
common::ObSArray<share::schema::ObUserInfo> user_infos_;
uint64_t creator_id_;
common::ObString primary_zone_; // only used in oracle mode
bool is_create_role_;
};
struct ObDropUserArg : public ObDDLArg