diff --git a/AUTHORS.md b/AUTHORS.md index 2a434837633..94a0a31c7bb 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -1,6 +1,18 @@ # Contributors * auxten [auxten@clickhouse.com](mailto:auxten@clickhouse.com) +* Daniel Robbins [elongaos@gmail.com](mailto:elongaos@gmail.com) +* Lorenzo Mangani [lorenzo.mangani@gmail.com](mailto:lorenzo.mangani@gmail.com) +* nmreadelf [frank.q.kong@hotmail.com](mailto:frank.q.kong@hotmail.com) +* laodouya [laodouya@yeah.net](mailto:laodouya@yeah.net) +* DemoYeti [164791169+DemoYeti@users.noreply.github.com](mailto:164791169+DemoYeti@users.noreply.github.com) +* Michael Razuvaev [razuvaev@yandex-team.ru](mailto:razuvaev@yandex-team.ru) +* Nevin [nevinpuri1901@gmail.com](mailto:nevinpuri1901@gmail.com) +* Yunyu Lin [mail@yunyul.in](mailto:mail@yunyul.in) +* reema93jain [113460610+reema93jain@users.noreply.github.com](mailto:113460610+reema93jain@users.noreply.github.com) +* xinhuitian [xinhui_tian@126.com](mailto:xinhui_tian@126.com) +* Alex Bocharov [alex@x.ai](mailto:alex@x.ai) +* meastham [meastham@ramp.com](mailto:meastham@ramp.com) To see the list of authors who created the source code of ClickHouse, published and distributed by ClickHouse, Inc. as the owner, run "SELECT * FROM system.contributors;" query on any ClickHouse server. diff --git a/programs/local/LocalChdb.cpp b/programs/local/LocalChdb.cpp index bb6f2904889..c6b7b3703c6 100644 --- a/programs/local/LocalChdb.cpp +++ b/programs/local/LocalChdb.cpp @@ -285,8 +285,12 @@ connection_wrapper::~connection_wrapper() void connection_wrapper::close() { - py::gil_scoped_release release; - close_conn(conn); + { + py::gil_scoped_release release; + close_conn(conn); + } + // Ensure that if a new connection is created before this object is destroyed that we don't try to close it. + conn = nullptr; } cursor_wrapper * connection_wrapper::cursor()