From 7036d2f963d2a6d0106e8ac7f6c102d9696deb04 Mon Sep 17 00:00:00 2001 From: alexey-milovidov Date: Tue, 17 Nov 2020 17:35:53 +0300 Subject: [PATCH] Update ColumnConst.cpp --- src/Columns/ColumnConst.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Columns/ColumnConst.cpp b/src/Columns/ColumnConst.cpp index 72988567a04..b70ca858c3a 100644 --- a/src/Columns/ColumnConst.cpp +++ b/src/Columns/ColumnConst.cpp @@ -142,8 +142,7 @@ void ColumnConst::compareColumn( const IColumn & rhs, size_t, PaddedPODArray *, PaddedPODArray & 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); } }