Skip to content

Commit

Permalink
fix to_binary_with_type of List
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyufjh committed Nov 26, 2024
1 parent 184900a commit 7655845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/src/types/to_binary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl ToBinary for ListRef<'_> {
buf.put_i32(1); // Has nulls?
buf.put_i32(element_ty.to_oid()); // Element type
buf.put_i32(self.len() as i32); // Length of 1st dimension
buf.put_i32(0); // Offset of 1st dimension
buf.put_i32(1); // Offset of 1st dimension, starting from 1
for element in self.iter() {
match element {
None => {
Expand Down

0 comments on commit 7655845

Please sign in to comment.