This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-1.1-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.1-lts by this push:
new a6ee47a6b7 [BugFix](VExprContext) capture error status to prevent
incorrect func call which causes coredump #12779
a6ee47a6b7 is described below
commit a6ee47a6b7758caa999beaef64a2a02074015166
Author: AlexYue <[email protected]>
AuthorDate: Wed Sep 21 09:20:16 2022 +0800
[BugFix](VExprContext) capture error status to prevent incorrect func call
which causes coredump #12779
---
be/src/vec/exprs/vexpr_context.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/vec/exprs/vexpr_context.cpp
b/be/src/vec/exprs/vexpr_context.cpp
index bb8f615dc5..f8f674f026 100644
--- a/be/src/vec/exprs/vexpr_context.cpp
+++ b/be/src/vec/exprs/vexpr_context.cpp
@@ -111,7 +111,7 @@ Status VExprContext::filter_block(VExprContext* vexpr_ctx,
Block* block, int col
return Status::OK();
}
int result_column_id = -1;
- vexpr_ctx->execute(block, &result_column_id);
+ RETURN_IF_ERROR(vexpr_ctx->execute(block, &result_column_id));
return Block::filter_block(block, result_column_id, column_to_keep);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]