mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Merge pull request #22147 from azat/writers-fixes
Use finalize() over next() for nested writers
This commit is contained in:
commit
607d36dd9d
@ -106,7 +106,7 @@ void BrotliWriteBuffer::finish()
|
||||
try
|
||||
{
|
||||
finishImpl();
|
||||
out->next();
|
||||
out->finalize();
|
||||
finished = true;
|
||||
}
|
||||
catch (...)
|
||||
|
@ -105,7 +105,7 @@ void LZMADeflatingWriteBuffer::finish()
|
||||
try
|
||||
{
|
||||
finishImpl();
|
||||
out->next();
|
||||
out->finalize();
|
||||
finished = true;
|
||||
}
|
||||
catch (...)
|
||||
|
@ -107,7 +107,7 @@ void ZlibDeflatingWriteBuffer::finish()
|
||||
try
|
||||
{
|
||||
finishImpl();
|
||||
out->next();
|
||||
out->finalize();
|
||||
finished = true;
|
||||
}
|
||||
catch (...)
|
||||
|
@ -94,7 +94,7 @@ void ZstdDeflatingWriteBuffer::finish()
|
||||
try
|
||||
{
|
||||
finishImpl();
|
||||
out->next();
|
||||
out->finalize();
|
||||
finished = true;
|
||||
}
|
||||
catch (...)
|
||||
|
Loading…
Reference in New Issue
Block a user