mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
Fixed error [#CLICKHOUSE-4].
This commit is contained in:
parent
35abae95c8
commit
1cdb2a2797
@ -65,7 +65,7 @@ namespace
|
|||||||
|
|
||||||
ResultOffsetsBuilder(IColumn::Offsets_t * res_offsets_) : res_offsets(*res_offsets_) {}
|
ResultOffsetsBuilder(IColumn::Offsets_t * res_offsets_) : res_offsets(*res_offsets_) {}
|
||||||
|
|
||||||
void reserve(size_t result_size_hint, size_t src_size)
|
void reserve(ssize_t result_size_hint, size_t src_size)
|
||||||
{
|
{
|
||||||
res_offsets.reserve(result_size_hint > 0 ? result_size_hint : src_size);
|
res_offsets.reserve(result_size_hint > 0 ? result_size_hint : src_size);
|
||||||
}
|
}
|
||||||
@ -108,7 +108,7 @@ namespace
|
|||||||
struct NoResultOffsetsBuilder
|
struct NoResultOffsetsBuilder
|
||||||
{
|
{
|
||||||
NoResultOffsetsBuilder(IColumn::Offsets_t * res_offsets_) {}
|
NoResultOffsetsBuilder(IColumn::Offsets_t * res_offsets_) {}
|
||||||
void reserve(size_t result_size_hint, size_t src_size) {}
|
void reserve(ssize_t result_size_hint, size_t src_size) {}
|
||||||
void insertOne(size_t array_size) {}
|
void insertOne(size_t array_size) {}
|
||||||
|
|
||||||
template <size_t SIMD_BYTES>
|
template <size_t SIMD_BYTES>
|
||||||
|
Loading…
Reference in New Issue
Block a user