diff --git a/src/rootserver/ob_ddl_service.cpp b/src/rootserver/ob_ddl_service.cpp index 8c756070d6..d7e2e34af1 100755 --- a/src/rootserver/ob_ddl_service.cpp +++ b/src/rootserver/ob_ddl_service.cpp @@ -24846,8 +24846,8 @@ int ObDDLService::create_normal_tenant( const int64_t start_time = ObTimeUtility::fast_current_time(); LOG_INFO("[CREATE_TENANT] STEP 2. start create tenant", K(tenant_id), K(tenant_schema), K(source_tenant_id)); int ret = OB_SUCCESS; - ObSArray tables; ObArenaAllocator arena_allocator("InnerTableSchem", OB_MALLOC_MIDDLE_BLOCK_SIZE); + ObSArray tables; if (OB_FAIL(check_inner_stat())) { LOG_WARN("variable is not init", KR(ret)); } else if (OB_UNLIKELY(!recovery_until_scn.is_valid_and_not_min())) { diff --git a/src/share/ob_rpc_struct.cpp b/src/share/ob_rpc_struct.cpp index bffb151686..6b3faa1d6c 100755 --- a/src/share/ob_rpc_struct.cpp +++ b/src/share/ob_rpc_struct.cpp @@ -9303,8 +9303,8 @@ const ObLSInfo &ObDetectMasterRsLSResult::get_ls_info() const ObBatchBroadcastSchemaArg::ObBatchBroadcastSchemaArg() : tenant_id_(common::OB_INVALID_TENANT_ID), sys_schema_version_(common::OB_INVALID_VERSION), - tables_(), - allocator_("BroadcastSchema", OB_MALLOC_MIDDLE_BLOCK_SIZE) + allocator_("BroadcastSchema", OB_MALLOC_MIDDLE_BLOCK_SIZE), + tables_() {} ObBatchBroadcastSchemaArg::~ObBatchBroadcastSchemaArg() diff --git a/src/share/ob_rpc_struct.h b/src/share/ob_rpc_struct.h index 2322221dc4..31836ed9e7 100755 --- a/src/share/ob_rpc_struct.h +++ b/src/share/ob_rpc_struct.h @@ -9634,9 +9634,8 @@ public: private: uint64_t tenant_id_; int64_t sys_schema_version_; - common::ObSArray tables_; -public: common::ObArenaAllocator allocator_; + common::ObSArray tables_; }; struct ObBatchBroadcastSchemaResult