From b16bce0698b01f8ae3db8da1c44adc2e7b08d46b Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Wed, 10 Apr 2019 16:27:51 +0300 Subject: [PATCH] Fix clang build. --- dbms/src/Interpreters/ExpressionActions.cpp | 3 ++- dbms/src/Processors/Formats/Impl/CSVRowInputFormat.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dbms/src/Interpreters/ExpressionActions.cpp b/dbms/src/Interpreters/ExpressionActions.cpp index f83816b61bc..a6bbdb4ca4e 100644 --- a/dbms/src/Interpreters/ExpressionActions.cpp +++ b/dbms/src/Interpreters/ExpressionActions.cpp @@ -746,7 +746,8 @@ bool ExpressionActions::hasTotalsInJoin() const bool has_totals_in_join = false; for (const auto & action : actions) { - if (action.join && action.join->hasTotals()) + if (action.join && action.jo + in->hasTotals()) { has_totals_in_join = true; break; diff --git a/dbms/src/Processors/Formats/Impl/CSVRowInputFormat.cpp b/dbms/src/Processors/Formats/Impl/CSVRowInputFormat.cpp index 7f304f9defa..3038c9e02f6 100644 --- a/dbms/src/Processors/Formats/Impl/CSVRowInputFormat.cpp +++ b/dbms/src/Processors/Formats/Impl/CSVRowInputFormat.cpp @@ -1,7 +1,7 @@ #include #include -#include +#include #include #include