mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Update src/IO/ZlibInflatingReadBuffer.cpp
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
This commit is contained in:
parent
f8eb02cb64
commit
a7d982198c
@ -75,7 +75,7 @@ bool ZlibInflatingReadBuffer::nextImpl()
|
|||||||
/// change size of working buffer (it's size equal to internal_buffer size without unused uncompressed values)
|
/// change size of working buffer (it's size equal to internal_buffer size without unused uncompressed values)
|
||||||
working_buffer.resize(internal_buffer.size() - zstr.avail_out);
|
working_buffer.resize(internal_buffer.size() - zstr.avail_out);
|
||||||
|
|
||||||
/// If end was reached, it can be end of file or end of part (for example, chunck)
|
/// If end was reached, it can be end of file or end of part (for example, chunk)
|
||||||
if (rc == Z_STREAM_END)
|
if (rc == Z_STREAM_END)
|
||||||
{
|
{
|
||||||
/// if it is end of file, remember this and return
|
/// if it is end of file, remember this and return
|
||||||
|
Loading…
Reference in New Issue
Block a user