Miscellaneous [#METR-2944].

This commit is contained in:
Alexey Milovidov 2017-01-04 09:51:01 +03:00
parent 8074f2de59
commit 3af6d65c2b

View File

@ -382,7 +382,7 @@ void ColumnNullable::applyNullValuesByteMap(const ColumnNullable & other)
if (arr1.size() != arr2.size())
throw Exception{"Inconsistent sizes of ColumnNullable objects", ErrorCodes::LOGICAL_ERROR};
for (size_t i = 0; i < arr1.size(); ++i)
for (size_t i = 0, size = arr1.size(); i < size; ++i)
arr1[i] |= arr2[i];
}