From 7af517775be3614c35a96d560bd86e649461d51b Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Thu, 5 Nov 2020 19:45:09 +0300 Subject: [PATCH] Update complie expressions. --- src/Interpreters/ExpressionJIT.cpp | 1 + src/Interpreters/ExpressionJIT.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Interpreters/ExpressionJIT.cpp b/src/Interpreters/ExpressionJIT.cpp index 2cd77dd9eea..b63e45eaee3 100644 --- a/src/Interpreters/ExpressionJIT.cpp +++ b/src/Interpreters/ExpressionJIT.cpp @@ -885,6 +885,7 @@ void ActionsDAG::compileFunctions() } } + visited.insert(frame.node); stack.pop(); } } diff --git a/src/Interpreters/ExpressionJIT.h b/src/Interpreters/ExpressionJIT.h index ba16194a6bb..3c885aca72e 100644 --- a/src/Interpreters/ExpressionJIT.h +++ b/src/Interpreters/ExpressionJIT.h @@ -57,7 +57,7 @@ public: UInt128 hash() const; }; - LLVMFunction(const CompileDAG & dag); + explicit LLVMFunction(const CompileDAG & dag); bool isCompilable() const override { return true; }