From ebb5cc05422d2397c992945b741270ba68729786 Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov Date: Mon, 30 Mar 2020 23:47:28 +0300 Subject: [PATCH] fixup --- dbms/src/Interpreters/ActionsVisitor.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dbms/src/Interpreters/ActionsVisitor.cpp b/dbms/src/Interpreters/ActionsVisitor.cpp index fd36cd27a0e..eb92ee76973 100644 --- a/dbms/src/Interpreters/ActionsVisitor.cpp +++ b/dbms/src/Interpreters/ActionsVisitor.cpp @@ -510,11 +510,11 @@ void ActionsMatcher::visit(const ASTFunction & node, const ASTPtr & ast, Data & // generated a unique column name for it. Use it instead of a generic // display name. auto child_column_name = child->getColumnName(); - auto asLiteral = dynamic_cast(child.get()); - if (asLiteral) + auto as_literal = dynamic_cast(child.get()); + if (as_literal) { - assert(!asLiteral->unique_column_name.empty()); - child_column_name = asLiteral->unique_column_name; + assert(!as_literal->unique_column_name.empty()); + child_column_name = as_literal->unique_column_name; } if (data.hasColumn(child_column_name))