From 03d2dbd62ad49a94dfd5a7f661fc19f7d8386e61 Mon Sep 17 00:00:00 2001 From: obdev Date: Thu, 19 Sep 2024 08:57:28 +0000 Subject: [PATCH] [BUGFIX] fix hash join close core bug --- src/sql/engine/join/hash_join/ob_hj_partition.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sql/engine/join/hash_join/ob_hj_partition.h b/src/sql/engine/join/hash_join/ob_hj_partition.h index e26d3c86a5..786fe6499e 100644 --- a/src/sql/engine/join/hash_join/ob_hj_partition.h +++ b/src/sql/engine/join/hash_join/ob_hj_partition.h @@ -89,7 +89,9 @@ public: } inline void close() { - return partition_store_->close(); + if (OB_NOT_NULL(partition_store_)) { + partition_store_->close(); + } } inline int rescan() {