mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 12:32:04 +00:00
Remove extra try/catch for LocalQueryState reset
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
bda4c94f66
commit
f9cd66db36
@ -34,14 +34,7 @@ LocalConnection::LocalConnection(ContextPtr context_, bool send_progress_, bool
|
|||||||
|
|
||||||
LocalConnection::~LocalConnection()
|
LocalConnection::~LocalConnection()
|
||||||
{
|
{
|
||||||
try
|
|
||||||
{
|
|
||||||
state.reset();
|
state.reset();
|
||||||
}
|
|
||||||
catch (...)
|
|
||||||
{
|
|
||||||
tryLogCurrentException(__PRETTY_FUNCTION__);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool LocalConnection::hasReadPendingData() const
|
bool LocalConnection::hasReadPendingData() const
|
||||||
|
Loading…
Reference in New Issue
Block a user