From ffbb27404b56af9991d7a704f0ff821a30bc6e53 Mon Sep 17 00:00:00 2001 From: LiYiChao Date: Tue, 8 Nov 2022 00:36:37 +0800 Subject: [PATCH] set rule explored rightly in bottomUpRewrite. --- src/optimizer/optimizer_task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/optimizer/optimizer_task.cpp b/src/optimizer/optimizer_task.cpp index 6bb9e9d3b1..4e3bb4775f 100644 --- a/src/optimizer/optimizer_task.cpp +++ b/src/optimizer/optimizer_task.cpp @@ -451,7 +451,7 @@ void BottomUpRewrite::Execute() { auto &new_expr = after[0]; context_->GetOptimizerContext()->ReplaceRewriteExpression(common::ManagedPointer(new_expr.get()), group_id_); PushTask(new BottomUpRewrite(group_id_, context_, rule_set_name_, false)); - return; + break; } }