From bcf07d19107a937a244bd8894e14fccff02ddb22 Mon Sep 17 00:00:00 2001 From: sundy-li <543950155@qq.com> Date: Sun, 22 Nov 2020 13:11:29 +0800 Subject: [PATCH] update --- src/Interpreters/replaceAliasColumnsInFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Interpreters/replaceAliasColumnsInFilter.cpp b/src/Interpreters/replaceAliasColumnsInFilter.cpp index 7d113be88c7..db1abe38cdd 100644 --- a/src/Interpreters/replaceAliasColumnsInFilter.cpp +++ b/src/Interpreters/replaceAliasColumnsInFilter.cpp @@ -16,7 +16,7 @@ ASTPtr replaceAliasColumnsInFilter(ASTPtr && ast, const ColumnsDescription & col if (temp_select.prewhere()) aliase_column_visitor.visit(temp_select.refPrewhere()); - return ast; + return std::move(ast); } }