mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
Addition to Amos Bird changes #3920
This commit is contained in:
parent
2884b870b3
commit
a594293b50
@ -231,7 +231,7 @@ public:
|
|||||||
nested_state += nested_size_of_data;
|
nested_state += nested_size_of_data;
|
||||||
}
|
}
|
||||||
|
|
||||||
offsets_to.push_back(offsets_to.empty() ? state.dynamic_array_size : offsets_to.back() + state.dynamic_array_size);
|
offsets_to.push_back(offsets_to.back() + state.dynamic_array_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool allocatesMemoryInArena() const override
|
bool allocatesMemoryInArena() const override
|
||||||
|
@ -203,7 +203,7 @@ public:
|
|||||||
for (size_t i = arr.size(); i < result_array_size; ++i)
|
for (size_t i = arr.size(); i < result_array_size; ++i)
|
||||||
to_data.insert(default_value);
|
to_data.insert(default_value);
|
||||||
|
|
||||||
to_offsets.push_back((to_offsets.empty() ? 0 : to_offsets.back()) + result_array_size);
|
to_offsets.push_back(to_offsets.back() + result_array_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char * getHeaderFilePath() const override { return __FILE__; }
|
const char * getHeaderFilePath() const override { return __FILE__; }
|
||||||
|
Loading…
Reference in New Issue
Block a user