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

morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new ad5874b6657 branch-3.1: [fix](ubsan) fix ub error of uninitialized 
variable #56854 (#56855)
ad5874b6657 is described below

commit ad5874b6657542b7fbc8967310b764e6b793a8fd
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Mon Oct 13 12:13:20 2025 +0800

    branch-3.1: [fix](ubsan) fix ub error of uninitialized variable #56854 
(#56855)
    
    bp #56854
---
 be/src/pipeline/exec/result_sink_operator.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/src/pipeline/exec/result_sink_operator.h 
b/be/src/pipeline/exec/result_sink_operator.h
index 1c2b669e02f..99e686981dd 100644
--- a/be/src/pipeline/exec/result_sink_operator.h
+++ b/be/src/pipeline/exec/result_sink_operator.h
@@ -46,8 +46,8 @@ struct ResultFileOptions {
     std::vector<TParquetSchema> parquet_schemas;
     TParquetCompressionType::type parquet_commpression_type;
     TParquetVersion::type parquet_version;
-    bool parquert_disable_dictionary;
-    bool enable_int96_timestamps;
+    bool parquert_disable_dictionary = false;
+    bool enable_int96_timestamps = false;
     //note: use outfile with parquet format, have deprecated 9:schema and 
10:file_properties
     //But in order to consider the compatibility when upgrading, so add a bool 
to check
     //Now the code version is 1.1.2, so when the version is after 1.2, could 
remove this code.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to