mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 20:24:07 +00:00
Fix bug in for condition
This commit is contained in:
parent
d9291887f8
commit
ef7acf3190
@ -116,7 +116,7 @@ SmartPolygonDictionary::SmartPolygonDictionary(
|
||||
: IPolygonDictionary(database_, name_, dict_struct_, std::move(source_ptr_), dict_lifetime_, input_type_, point_type_)
|
||||
{
|
||||
buckets.reserve(polygons.size());
|
||||
for (size_t i = 0; i < buckets.size(); ++i)
|
||||
for (size_t i = 0; i < polygons.size(); ++i)
|
||||
{
|
||||
buckets.emplace_back(std::vector<Polygon>{polygons[i]});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user