This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 2760bcb [fix] fix core dump on deep_copy_tuple when data is null
(#8620)
2760bcb is described below
commit 2760bcbcc1f03e00bea973eeb83cca62bfa351ad
Author: Pxl <[email protected]>
AuthorDate: Thu Mar 24 09:15:38 2022 +0800
[fix] fix core dump on deep_copy_tuple when data is null (#8620)
---
be/src/vec/core/block.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/vec/core/block.cpp b/be/src/vec/core/block.cpp
index 8a62a52..ca44be9 100644
--- a/be/src/vec/core/block.cpp
+++ b/be/src/vec/core/block.cpp
@@ -715,9 +715,9 @@ doris::Tuple* Block::deep_copy_tuple(const
doris::TupleDescriptor& desc, MemPool
dst->set_null(slot_desc->null_indicator_offset());
} else {
dst->set_not_null(slot_desc->null_indicator_offset());
+ deep_copy_slot(dst->get_slot(slot_desc->tuple_offset()), pool,
type_desc, data_ref,
+ column.get(), row, padding_char);
}
- deep_copy_slot(dst->get_slot(slot_desc->tuple_offset()), pool,
type_desc, data_ref,
- column.get(), row, padding_char);
}
return dst;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]