Update ColumnConst.cpp

This commit is contained in:
alexey-milovidov 2020-11-17 17:35:53 +03:00 committed by GitHub
parent 9de0217c93
commit 7036d2f963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,8 +142,7 @@ void ColumnConst::compareColumn(
const IColumn & rhs, size_t, PaddedPODArray<UInt64> *, PaddedPODArray<Int8> & compare_results, int, int nan_direction_hint)
const
{
Int8 res = compareAt(1, 1, rhs, nan_direction_hint);
std::fill(compare_results.begin(), compare_results.end(), res);
std::fill(compare_results.begin(), compare_results.end(), 0);
}
}