From af4cceb87789a9b94265a154fa9490e08ddfe649 Mon Sep 17 00:00:00 2001 From: chertus Date: Mon, 12 Nov 2018 18:25:21 +0300 Subject: [PATCH] make branch up to date --- dbms/src/Interpreters/evaluateMissingDefaults.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dbms/src/Interpreters/evaluateMissingDefaults.cpp b/dbms/src/Interpreters/evaluateMissingDefaults.cpp index b0280fe9ae7..8d84c8f6576 100644 --- a/dbms/src/Interpreters/evaluateMissingDefaults.cpp +++ b/dbms/src/Interpreters/evaluateMissingDefaults.cpp @@ -90,7 +90,8 @@ void evaluateMissingDefaultsUnsafe(Block & block, for (size_t i = 0, size = block.columns(); i < size; ++i) available_columns.emplace_back(block.getByPosition(i).name, block.getByPosition(i).type); - ExpressionAnalyzer{default_expr_list, context, {}, available_columns}.getActions(true)->execute(block); + auto syntax_result = SyntaxAnalyzer(context, {}).analyze(default_expr_list, available_columns); + ExpressionAnalyzer{default_expr_list, syntax_result, context}.getActions(true)->execute(block); } }