mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Don't pass empty vector to ConcatReadBuffer
This commit is contained in:
parent
b0f400ca1b
commit
ac4c3a6b27
@ -219,9 +219,12 @@ void HTTPHandler::pushDelayedResults(Output & used_output)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!read_buffers_raw_ptr.empty())
|
||||||
|
{
|
||||||
ConcatReadBuffer concat_read_buffer(read_buffers_raw_ptr);
|
ConcatReadBuffer concat_read_buffer(read_buffers_raw_ptr);
|
||||||
copyData(concat_read_buffer, *used_output.out_maybe_compressed);
|
copyData(concat_read_buffer, *used_output.out_maybe_compressed);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
HTTPHandler::HTTPHandler(IServer & server_, const std::string & name)
|
HTTPHandler::HTTPHandler(IServer & server_, const std::string & name)
|
||||||
|
Loading…
Reference in New Issue
Block a user