ObCreateTableRes new member placeholder
This commit is contained in:
@ -1688,7 +1688,7 @@ bool ObCreateTableArg::is_allow_when_upgrade() const
|
||||
return bret;
|
||||
}
|
||||
|
||||
OB_SERIALIZE_MEMBER(ObCreateTableRes, table_id_, schema_version_);
|
||||
OB_SERIALIZE_MEMBER(ObCreateTableRes, table_id_, schema_version_, task_id_);
|
||||
|
||||
bool ObCreateTableLikeArg::is_valid() const
|
||||
{
|
||||
|
||||
@ -1008,16 +1008,19 @@ struct ObCreateTableRes
|
||||
public:
|
||||
ObCreateTableRes() :
|
||||
table_id_(OB_INVALID_ID),
|
||||
schema_version_(OB_INVALID_VERSION)
|
||||
schema_version_(OB_INVALID_VERSION),
|
||||
task_id_(0)
|
||||
{}
|
||||
int assign(const ObCreateTableRes &other) {
|
||||
table_id_ = other.table_id_;
|
||||
schema_version_ = other.schema_version_;
|
||||
task_id_ = other.task_id_;
|
||||
return common::OB_SUCCESS;
|
||||
}
|
||||
TO_STRING_KV(K_(table_id), K_(schema_version));
|
||||
TO_STRING_KV(K_(table_id), K_(schema_version), K_(task_id));
|
||||
uint64_t table_id_;
|
||||
int64_t schema_version_;
|
||||
int64_t task_id_;
|
||||
};
|
||||
|
||||
struct ObCreateTableLikeArg : public ObDDLArg
|
||||
|
||||
Reference in New Issue
Block a user