From 6212d3fd99ebd333c2239f2346ea75909f6fd087 Mon Sep 17 00:00:00 2001 From: obdev Date: Fri, 16 Jul 2021 14:42:13 +0800 Subject: [PATCH] Fix error that init dtl first buffer --- src/sql/dtl/ob_dtl_local_first_buffer_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/dtl/ob_dtl_local_first_buffer_manager.cpp b/src/sql/dtl/ob_dtl_local_first_buffer_manager.cpp index 26cb2f055..e22b72520 100644 --- a/src/sql/dtl/ob_dtl_local_first_buffer_manager.cpp +++ b/src/sql/dtl/ob_dtl_local_first_buffer_manager.cpp @@ -59,7 +59,7 @@ int ObDtlLocalFirstBufferCache::init(int64_t bucket_num, int64_t concurrent_cnt) bucket_num = CHANNEL_HASH_BUCKET_NUM; LOG_DEBUG("unexepct bucket number", K(bucket_num), K(concurrent_cnt)); } - if (0 >= bucket_num || MAX_BITSET_CNT < bucket_num) { + if (0 >= bitset_cnt_ || MAX_BITSET_CNT < bitset_cnt_) { bitset_cnt_ = MAX_BITSET_CNT; LOG_DEBUG("unexepct bucket number", K(bucket_num), K(concurrent_cnt)); }