From 0ee3f01e0cf53feb770385f17bbbe06b506a4f22 Mon Sep 17 00:00:00 2001 From: Chang Chen Date: Fri, 14 Jun 2024 15:34:40 +0800 Subject: [PATCH] Avoid using LD_PRELOAD in child process --- cpp-ch/local-engine/Common/CHUtil.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpp-ch/local-engine/Common/CHUtil.cpp b/cpp-ch/local-engine/Common/CHUtil.cpp index fa6124cf011f..2dd5f67687db 100644 --- a/cpp-ch/local-engine/Common/CHUtil.cpp +++ b/cpp-ch/local-engine/Common/CHUtil.cpp @@ -894,6 +894,9 @@ void BackendInitializerUtil::init(std::string * plan) cleanup_threads, 0, // We don't need any threads one all the parts will be deleted cleanup_threads); + + // Avoid using LD_PRELOAD in child process + unsetenv("LD_PRELOAD"); }); }