mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
DB: fixed error [#CONV-2546].
This commit is contained in:
parent
fa8fe600f1
commit
40c8f1e85e
@ -26,6 +26,9 @@ private:
|
||||
|
||||
void nextImpl()
|
||||
{
|
||||
if (!offset())
|
||||
return;
|
||||
|
||||
size_t uncompressed_size = offset();
|
||||
compressed_buffer.resize(uncompressed_size + QUICKLZ_ADDITIONAL_SPACE);
|
||||
|
||||
|
@ -20,6 +20,9 @@ private:
|
||||
|
||||
void nextImpl()
|
||||
{
|
||||
if (!offset())
|
||||
return;
|
||||
|
||||
ostr.write(working_buffer.begin(), offset());
|
||||
ostr.flush();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user