Add a placeholder for the new attribute route_policy_ to the ObDASTableLocMeta structure.
This commit is contained in:
parent
215e449cbb
commit
cd977a3c9d
@ -36,6 +36,7 @@ void ObDASTableLocMeta::light_assign(const ObDASTableLocMeta &other)
|
||||
table_loc_id_ = other.table_loc_id_;
|
||||
ref_table_id_ = other.ref_table_id_;
|
||||
flags_ = other.flags_;
|
||||
route_policy_ = other.route_policy_;
|
||||
}
|
||||
|
||||
int ObDASTableLocMeta::assign(const ObDASTableLocMeta &other)
|
||||
@ -66,7 +67,8 @@ OB_SERIALIZE_MEMBER(ObDASTableLocMeta,
|
||||
table_loc_id_,
|
||||
ref_table_id_,
|
||||
related_table_ids_,
|
||||
flags_);
|
||||
flags_,
|
||||
route_policy_);
|
||||
|
||||
OB_SERIALIZE_MEMBER(ObDASTabletLoc,
|
||||
tablet_id_,
|
||||
|
@ -99,7 +99,8 @@ public:
|
||||
: table_loc_id_(common::OB_INVALID_ID),
|
||||
ref_table_id_(common::OB_INVALID_ID),
|
||||
related_table_ids_(alloc),
|
||||
flags_(0)
|
||||
flags_(0),
|
||||
route_policy_(0)
|
||||
{ }
|
||||
~ObDASTableLocMeta() = default;
|
||||
int assign(const ObDASTableLocMeta &other);
|
||||
@ -120,7 +121,8 @@ public:
|
||||
K_(is_dup_table),
|
||||
K_(is_weak_read),
|
||||
K_(unuse_related_pruning),
|
||||
K_(is_external_table));
|
||||
K_(is_external_table),
|
||||
K_(route_policy));
|
||||
|
||||
uint64_t table_loc_id_; //location object id
|
||||
uint64_t ref_table_id_; //table object id
|
||||
@ -138,6 +140,7 @@ public:
|
||||
uint64_t reserved_ : 57;
|
||||
};
|
||||
};
|
||||
int64_t route_policy_;
|
||||
|
||||
private:
|
||||
void light_assign(const ObDASTableLocMeta &other); //without array
|
||||
|
Loading…
x
Reference in New Issue
Block a user