This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-1.2-lts in repository https://gitbox.apache.org/repos/asf/doris.git
commit acb7b675b487f54782aad8c89092b077c973c1d9 Author: yixiutt <[email protected]> AuthorDate: Sun Feb 5 00:05:35 2023 +0800 [fix](vertical compaction) fix uint32_t init value (#16377) --- be/src/vec/olap/vertical_merge_iterator.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/be/src/vec/olap/vertical_merge_iterator.h b/be/src/vec/olap/vertical_merge_iterator.h index 61cf723afc..0c6b66d8fc 100644 --- a/be/src/vec/olap/vertical_merge_iterator.h +++ b/be/src/vec/olap/vertical_merge_iterator.h @@ -184,14 +184,14 @@ private: size_t _ori_return_cols = 0; // segment order, used to compare key - uint32_t _order = -1; + uint32_t _order = 0; - uint32_t _seq_col_idx = -1; + int32_t _seq_col_idx = -1; bool _valid = false; bool _inited = false; mutable bool _is_same = false; - size_t _index_in_block = -1; + int32_t _index_in_block = -1; size_t _block_row_max = 0; int _num_key_columns; size_t _cur_batch_num = 0; @@ -320,4 +320,4 @@ std::shared_ptr<RowwiseIterator> new_vertical_mask_merge_iterator( RowSourcesBuffer* row_sources_buf); } // namespace vectorized -} // namespace doris \ No newline at end of file +} // namespace doris --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
