mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 20:42:04 +00:00
fixing tests
This commit is contained in:
parent
e4050334bb
commit
99167d3b87
@ -73,7 +73,7 @@ namespace ErrorCodes
|
||||
Connection::~Connection()
|
||||
{
|
||||
if (connected)
|
||||
disconnect();
|
||||
Connection::disconnect();
|
||||
}
|
||||
|
||||
Connection::Connection(const String & host_, UInt16 port_,
|
||||
|
@ -147,6 +147,7 @@ void WriteBufferFromHDFS::finalizeImpl()
|
||||
|
||||
WriteBufferFromHDFS::~WriteBufferFromHDFS()
|
||||
{
|
||||
if (!canceled)
|
||||
finalize();
|
||||
}
|
||||
|
||||
|
@ -51,8 +51,8 @@ void StorageObjectStorageSink::onCancel()
|
||||
{
|
||||
std::lock_guard lock(cancel_mutex);
|
||||
cancelBuffers();
|
||||
cancelled = true;
|
||||
releaseBuffers();
|
||||
cancelled = true;
|
||||
}
|
||||
|
||||
void StorageObjectStorageSink::onException(std::exception_ptr)
|
||||
|
Loading…
Reference in New Issue
Block a user