This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch dev-1.1.2
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/dev-1.1.2 by this push:
     new 87870b073e [fix](core)fix bug for status not init(#11730)
87870b073e is described below

commit 87870b073e401b59c42ec638ed8d9e5aa4600e26
Author: pengxiangyu <diablo...@163.com>
AuthorDate: Fri Aug 12 17:42:37 2022 +0800

    [fix](core)fix bug for status not init(#11730)
---
 be/src/vec/exec/vexcept_node.cpp    | 2 +-
 be/src/vec/exec/vintersect_node.cpp | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/be/src/vec/exec/vexcept_node.cpp b/be/src/vec/exec/vexcept_node.cpp
index 4240743704..f7b40dc348 100644
--- a/be/src/vec/exec/vexcept_node.cpp
+++ b/be/src/vec/exec/vexcept_node.cpp
@@ -44,7 +44,7 @@ Status VExceptNode::prepare(RuntimeState* state) {
 Status VExceptNode::open(RuntimeState* state) {
     RETURN_IF_ERROR(VSetOperationNode::open(state));
     bool eos = false;
-    Status st;
+    Status st = Status::OK();
     for (int i = 1; i < _children.size(); ++i) {
         if (i > 1) {
             refresh_hash_table<false>();
diff --git a/be/src/vec/exec/vintersect_node.cpp 
b/be/src/vec/exec/vintersect_node.cpp
index 65ee121b26..ca8b625d89 100644
--- a/be/src/vec/exec/vintersect_node.cpp
+++ b/be/src/vec/exec/vintersect_node.cpp
@@ -44,8 +44,7 @@ Status VIntersectNode::prepare(RuntimeState* state) {
 Status VIntersectNode::open(RuntimeState* state) {
     RETURN_IF_ERROR(VSetOperationNode::open(state));
     bool eos = false;
-    Status st;
-    
+    Status st = Status::OK();
     for (int i = 1; i < _children.size(); ++i) {
         if (i > 1) {
             refresh_hash_table<true>();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to