placeholder
This commit is contained in:
@ -4867,7 +4867,8 @@ public:
|
||||
object_type_(share::schema::ObObjectType::INVALID),
|
||||
object_id_(common::OB_INVALID_ID), ins_col_ids_(),
|
||||
upd_col_ids_(), ref_col_ids_(),
|
||||
grantor_id_(common::OB_INVALID_ID), remain_roles_(), is_inner_(false)
|
||||
grantor_id_(common::OB_INVALID_ID), remain_roles_(), is_inner_(false),
|
||||
sel_col_ids_()
|
||||
{ }
|
||||
virtual ~ObGrantArg() {}
|
||||
bool is_valid() const;
|
||||
@ -4903,6 +4904,7 @@ public:
|
||||
// to support grant xxx to multiple user in oracle mode
|
||||
common::ObSArray<common::ObString> remain_roles_;
|
||||
bool is_inner_;
|
||||
common::ObSEArray<uint64_t, 4> sel_col_ids_;
|
||||
};
|
||||
|
||||
struct ObStandbyGrantArg : public ObDDLArg
|
||||
@ -4975,9 +4977,12 @@ public:
|
||||
ObRevokeTableArg() : ObDDLArg(), tenant_id_(common::OB_INVALID_ID), user_id_(common::OB_INVALID_ID),
|
||||
priv_set_(0), grant_(true), obj_id_(common::OB_INVALID_ID),
|
||||
obj_type_(common::OB_INVALID_ID), grantor_id_(common::OB_INVALID_ID),
|
||||
obj_priv_array_(), revoke_all_ora_(false)
|
||||
obj_priv_array_(), revoke_all_ora_(false), sel_col_ids_(), ins_col_ids_(),
|
||||
upd_col_ids_(), ref_col_ids_()
|
||||
{ }
|
||||
bool is_valid() const;
|
||||
|
||||
int assign(const ObRevokeTableArg& other);
|
||||
TO_STRING_KV(K_(tenant_id),
|
||||
K_(user_id),
|
||||
K_(db),
|
||||
@ -5000,6 +5005,10 @@ public:
|
||||
uint64_t grantor_id_;
|
||||
share::ObRawObjPrivArray obj_priv_array_;
|
||||
bool revoke_all_ora_;
|
||||
common::ObSEArray<uint64_t, 4> sel_col_ids_;
|
||||
common::ObSEArray<uint64_t, 4> ins_col_ids_;
|
||||
common::ObSEArray<uint64_t, 4> upd_col_ids_;
|
||||
common::ObSEArray<uint64_t, 4> ref_col_ids_;
|
||||
};
|
||||
|
||||
struct ObRevokeSysPrivArg : public ObDDLArg
|
||||
|
||||
Reference in New Issue
Block a user