From 97d07ae3a9ae07f808222b3351b3b609d8df8108 Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Tue, 17 Nov 2020 17:54:37 +0300 Subject: [PATCH] Add converting logic to ActionsDAG. --- src/Interpreters/ActionsDAG.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Interpreters/ActionsDAG.cpp b/src/Interpreters/ActionsDAG.cpp index ccae78b665f..02d4d096d9b 100644 --- a/src/Interpreters/ActionsDAG.cpp +++ b/src/Interpreters/ActionsDAG.cpp @@ -157,7 +157,7 @@ const ActionsDAG::Node & ActionsDAG::addFunction( for (const auto & name : argument_names) children.push_back(&getNode(name)); - addFunction(function, children, std::move(result_name), false); + return addFunction(function, children, std::move(result_name), false); } ActionsDAG::Node & ActionsDAG::addFunction(