mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Update ZstdInflatingReadBuffer.cpp
This commit is contained in:
parent
435f6d3d92
commit
3303fe2fd3
@ -58,6 +58,9 @@ bool ZstdInflatingReadBuffer::nextImpl()
|
||||
}
|
||||
else if (output.pos == 0)
|
||||
{
|
||||
/// It is possible, that input buffer is not at eof yet, but nothing was decompressed in current iteration.
|
||||
/// But there are cases, when such behaviour is not allowed - i.e. if input buffer is not eof, then
|
||||
/// it has to be guaranteed that working_buffer is not empty. So if it is empty, continue.
|
||||
return nextImpl();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user