Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions clickhouse/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,10 @@ Client::Impl::Impl(const ClientOptions& opts,
}

Client::Impl::~Impl() {
// Wrap up an insert if one is in progress.
EndInsert();
try {
EndInsert();
} catch (...) {
}
}

void Client::Impl::ExecuteQuery(Query query) {
Expand Down
Loading