From d4657d7e0888227849e092036d517da2eb2bfc5d Mon Sep 17 00:00:00 2001 From: coolfishchen Date: Fri, 17 Nov 2023 14:40:48 +0000 Subject: [PATCH] ObCreateTableRes new member placeholder --- src/share/ob_rpc_struct.cpp | 2 +- src/share/ob_rpc_struct.h | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/share/ob_rpc_struct.cpp b/src/share/ob_rpc_struct.cpp index dd7cebed992..f89aba862c0 100755 --- a/src/share/ob_rpc_struct.cpp +++ b/src/share/ob_rpc_struct.cpp @@ -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 { diff --git a/src/share/ob_rpc_struct.h b/src/share/ob_rpc_struct.h index 4db05f9fc97..e9526a04871 100755 --- a/src/share/ob_rpc_struct.h +++ b/src/share/ob_rpc_struct.h @@ -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