Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyufjh committed Nov 19, 2024
1 parent 99437fc commit eb0b1bc
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 @@ -97,7 +97,7 @@ impl ToBinary for ListRef<'_> {
let mut buf = BytesMut::new();
buf.put_i32(1); // Number of dimensions (must be 1)
buf.put_i32(1); // Has nulls?
buf.put_i32(ty.to_oid()); // Element type
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
for element in self.iter() {
Expand Down

0 comments on commit eb0b1bc

Please sign in to comment.