This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push: new ce1c268743c [Fix](load) Fix uninitiated load_type (not a valid value for type) of StreamLoadContext when operate_txn_2pc #38033 (#38187) ce1c268743c is described below commit ce1c268743c8a16ec08aa3a48523c1467c1ec4b3 Author: Xin Liao <liaoxin...@126.com> AuthorDate: Mon Jul 22 17:20:03 2024 +0800 [Fix](load) Fix uninitiated load_type (not a valid value for type) of StreamLoadContext when operate_txn_2pc #38033 (#38187) cherry pick from #38033 --- be/src/runtime/stream_load/stream_load_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/runtime/stream_load/stream_load_context.h b/be/src/runtime/stream_load/stream_load_context.h index 376228e022d..1dc7ccf73ba 100644 --- a/be/src/runtime/stream_load/stream_load_context.h +++ b/be/src/runtime/stream_load/stream_load_context.h @@ -121,7 +121,7 @@ public: public: static const int default_txn_id = -1; // load type, eg: ROUTINE LOAD/MANUAL LOAD - TLoadType::type load_type; + TLoadType::type load_type = TLoadType::type::MANUL_LOAD; // load data source: eg: KAFKA/RAW TLoadSourceType::type load_src_type; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org