mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Use finalize() over next() for nested writers
Refs: https://github.com/ClickHouse/ClickHouse/pull/21325#discussion_r585348309
This commit is contained in:
parent
0675f9403c
commit
f1907acbcd
@ -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