dbms: better [#METR-18035].

This commit is contained in:
Alexey Milovidov 2015-09-16 23:40:01 +03:00
parent cf7d220f10
commit 13112cc66e

View File

@ -1743,7 +1743,7 @@ void StorageReplicatedMergeTree::searchForMissingPart(const String & part_name)
ActiveDataPartSet::parsePartName(part_on_replica, part_on_replica_info);
for (auto block_num = part_on_replica_info.left; block_num <= part_on_replica_info.right; ++block_num)
found_blocks[block_num - part_info.left] = 1;
found_blocks.at(block_num - part_info.left) = 1;
}
}
if (found)