From 7870375daf29c7016a3fc8d836f4011b2dca7442 Mon Sep 17 00:00:00 2001 From: jh0 Date: Wed, 1 Sep 2021 15:14:41 +0800 Subject: [PATCH] fix OB_MOD_DO_NOT_USE_ME in set_outline_params_wrapper --- src/share/schema/ob_schema_struct.cpp | 4 ++-- src/share/schema/ob_schema_struct.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/share/schema/ob_schema_struct.cpp b/src/share/schema/ob_schema_struct.cpp index 9f5d360493..49a9337600 100644 --- a/src/share/schema/ob_schema_struct.cpp +++ b/src/share/schema/ob_schema_struct.cpp @@ -9059,8 +9059,8 @@ OB_DEF_SERIALIZE_SIZE(ObMaxConcurrentParam) ObOutlineParamsWrapper::ObOutlineParamsWrapper() : allocator_(NULL), outline_params_() {} -ObOutlineParamsWrapper::ObOutlineParamsWrapper(common::ObIAllocator* allocator) - : allocator_(allocator), outline_params_(OB_MALLOC_NORMAL_BLOCK_SIZE, ObWrapperAllocator(allocator)) +ObOutlineParamsWrapper::ObOutlineParamsWrapper(common::ObIAllocator *allocator) + : allocator_(allocator), outline_params_(OB_MALLOC_NORMAL_BLOCK_SIZE, ObWrapperAllocatorWithAttr(allocator)) {} ObOutlineParamsWrapper::~ObOutlineParamsWrapper() diff --git a/src/share/schema/ob_schema_struct.h b/src/share/schema/ob_schema_struct.h index c97abc60ce..5a095dc6e9 100644 --- a/src/share/schema/ob_schema_struct.h +++ b/src/share/schema/ob_schema_struct.h @@ -5650,7 +5650,7 @@ private: // used for outline manager class ObOutlineParamsWrapper { - typedef common::ObArray OutlineParamsArray; + typedef common::ObArray OutlineParamsArray; OB_UNIS_VERSION(1); public: -- GitLab