From cb2effd649cc0a2d199042d58acb9c893e677a62 Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Tue, 10 Apr 2018 18:59:22 +0300 Subject: [PATCH] fix test --- dbms/src/Storages/MergeTree/MergeTreeReadPool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Storages/MergeTree/MergeTreeReadPool.cpp b/dbms/src/Storages/MergeTree/MergeTreeReadPool.cpp index 370797968b3..315fab49266 100644 --- a/dbms/src/Storages/MergeTree/MergeTreeReadPool.cpp +++ b/dbms/src/Storages/MergeTree/MergeTreeReadPool.cpp @@ -214,7 +214,7 @@ std::vector MergeTreeReadPool::fillPerPartInfo( /** If expression in PREWHERE is not table column, then no need to return column with it to caller * (because storage is expected only to read table columns). */ - per_part_remove_prewhere_column.push_back(0 == pre_name_set.count(prewhere_column_name)); + per_part_remove_prewhere_column.push_back(false && 0 == pre_name_set.count(prewhere_column_name)); Names post_column_names; for (const auto & name : required_column_names)