Reserve rpc values
This commit is contained in:
parent
ce48a373dd
commit
a1d0111dba
@ -4276,6 +4276,7 @@ int ObCreateUserArg::assign(const ObCreateUserArg &other)
|
|||||||
if_not_exist_ = other.if_not_exist_;
|
if_not_exist_ = other.if_not_exist_;
|
||||||
creator_id_ = other.creator_id_;
|
creator_id_ = other.creator_id_;
|
||||||
primary_zone_ = other.primary_zone_;
|
primary_zone_ = other.primary_zone_;
|
||||||
|
is_create_role_ = other.is_create_role_;
|
||||||
if (OB_FAIL(ObDDLArg::assign(other))) {
|
if (OB_FAIL(ObDDLArg::assign(other))) {
|
||||||
LOG_WARN("fail to assign ddl arg", KR(ret));
|
LOG_WARN("fail to assign ddl arg", KR(ret));
|
||||||
} else if (OB_FAIL(user_infos_.assign(other.user_infos_))) {
|
} else if (OB_FAIL(user_infos_.assign(other.user_infos_))) {
|
||||||
@ -4289,7 +4290,8 @@ OB_SERIALIZE_MEMBER((ObCreateUserArg, ObDDLArg),
|
|||||||
user_infos_,
|
user_infos_,
|
||||||
if_not_exist_,
|
if_not_exist_,
|
||||||
creator_id_,
|
creator_id_,
|
||||||
primary_zone_);
|
primary_zone_,
|
||||||
|
is_create_role_);
|
||||||
|
|
||||||
bool ObDropUserArg::is_valid() const
|
bool ObDropUserArg::is_valid() const
|
||||||
{
|
{
|
||||||
|
@ -5037,7 +5037,7 @@ struct ObCreateUserArg : public ObDDLArg
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
ObCreateUserArg() : ObDDLArg(), tenant_id_(common::OB_INVALID_ID), if_not_exist_(false),
|
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()
|
virtual ~ObCreateUserArg()
|
||||||
{}
|
{}
|
||||||
@ -5051,6 +5051,7 @@ public:
|
|||||||
common::ObSArray<share::schema::ObUserInfo> user_infos_;
|
common::ObSArray<share::schema::ObUserInfo> user_infos_;
|
||||||
uint64_t creator_id_;
|
uint64_t creator_id_;
|
||||||
common::ObString primary_zone_; // only used in oracle mode
|
common::ObString primary_zone_; // only used in oracle mode
|
||||||
|
bool is_create_role_;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ObDropUserArg : public ObDDLArg
|
struct ObDropUserArg : public ObDDLArg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user