Revert "Update ColumnConst.cpp"

This reverts commit 7036d2f963.
This commit is contained in:
Alexey Milovidov 2020-11-18 07:42:14 +03:00
parent 7036d2f963
commit acd2b62c9d

View File

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