[CP] fix some ctas exception handle bugs

This commit is contained in:
obdev
2022-07-04 10:14:19 +08:00
committed by wangzelin.wzl
parent a963f52add
commit 491d36e26a
17 changed files with 252 additions and 154 deletions

View File

@ -1016,6 +1016,23 @@ public:
// New members of ObCreateTableArg need to pay attention to the implementation of is_allow_when_upgrade
};
struct ObCreateTableRes {
OB_UNIS_VERSION(1);
public:
ObCreateTableRes() : table_id_(OB_INVALID_ID), schema_version_(OB_INVALID_VERSION)
{}
int assign(const ObCreateTableRes &other)
{
table_id_ = other.table_id_;
schema_version_ = other.schema_version_;
return common::OB_SUCCESS;
}
TO_STRING_KV(K_(table_id), K_(schema_version));
uint64_t table_id_;
int64_t schema_version_;
};
struct ObCreateTableLikeArg : public ObDDLArg {
OB_UNIS_VERSION(1);