未验证 提交 42266bf8 编写于 作者: A alexey-milovidov 提交者: GitHub

Merge pull request #22205 from ClickHouse/backport/21.3/22147

Backport #22147 to 21.3: Use finalize() over next() for nested writers
......@@ -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 (...)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册