Make MergeTreeSetIndex::checkInRange const.

This commit is contained in:
Nikolai Kochetov 2020-07-21 14:15:40 +03:00
parent 2759d5b6ad
commit 62a2f9819e

View File

@ -499,8 +499,10 @@ BoolMask MergeTreeSetIndex::checkInRange(const std::vector<Range> & key_ranges,
{
size_t tuple_size = indexes_mapping.size();
ColumnsWithInfinity left_point(tuple_size);
ColumnsWithInfinity right_point(tuple_size);
ColumnsWithInfinity left_point;
ColumnsWithInfinity right_point;
left_point.reserve(tuple_size);
right_point.reserve(tuple_size);
for (size_t i = 0; i < tuple_size; ++i)
{