From cc95855054bc01bf58f0b3f95caaf8590ff5eb0c Mon Sep 17 00:00:00 2001 From: hnwyllmm Date: Wed, 3 Jan 2024 11:13:33 +0000 Subject: [PATCH] fix coredump if toolbox init half --- src/sql/engine/cmd/ob_load_data_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/engine/cmd/ob_load_data_impl.h b/src/sql/engine/cmd/ob_load_data_impl.h index 43c65ae896..b5bd969241 100644 --- a/src/sql/engine/cmd/ob_load_data_impl.h +++ b/src/sql/engine/cmd/ob_load_data_impl.h @@ -685,7 +685,7 @@ public: InsertTask, }; struct ToolBox { - ToolBox() : file_reader(nullptr), job_status(nullptr), expr_buffer(nullptr) {} + ToolBox() : file_reader(nullptr), job_status(nullptr), expr_buffer(nullptr), temp_handle(nullptr) {} int init(ObExecContext &ctx, ObLoadDataStmt &load_stmt); int build_calc_partid_expr(ObExecContext &ctx, ObLoadDataStmt &load_stmt,