Skip to content

Commit

Permalink
[Bug](writer) Fix ub in async writer (apache#25218)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel39 authored Oct 10, 2023
1 parent 7276665 commit 6ca0f3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion be/src/vec/sink/writer/async_result_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ class TExpr;
namespace vectorized {

AsyncResultWriter::AsyncResultWriter(const doris::vectorized::VExprContextSPtrs& output_expr_ctxs)
: _vec_output_expr_ctxs(output_expr_ctxs), _dependency(nullptr) {};
: _vec_output_expr_ctxs(output_expr_ctxs),
_dependency(nullptr),
_finish_dependency(nullptr) {}

void AsyncResultWriter::set_dependency(pipeline::AsyncWriterDependency* dep,
pipeline::FinishDependency* finish_dep) {
Expand Down

0 comments on commit 6ca0f3f

Please sign in to comment.