mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Don't pass empty vector to ConcatReadBuffer
This commit is contained in:
parent
b0f400ca1b
commit
ac4c3a6b27
@ -219,8 +219,11 @@ void HTTPHandler::pushDelayedResults(Output & used_output)
|
||||
}
|
||||
}
|
||||
|
||||
ConcatReadBuffer concat_read_buffer(read_buffers_raw_ptr);
|
||||
copyData(concat_read_buffer, *used_output.out_maybe_compressed);
|
||||
if (!read_buffers_raw_ptr.empty())
|
||||
{
|
||||
ConcatReadBuffer concat_read_buffer(read_buffers_raw_ptr);
|
||||
copyData(concat_read_buffer, *used_output.out_maybe_compressed);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user