Skip to content

Commit

Permalink
Avoid using LD_PRELOAD in child process
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaichen committed Jun 14, 2024
1 parent ec28263 commit 0ee3f01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp-ch/local-engine/Common/CHUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
}

Expand Down

0 comments on commit 0ee3f01

Please sign in to comment.