Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb committed Oct 16, 2024
1 parent e08c1c8 commit 03d6324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/blockstore/src/arrow/block/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ impl Block {
Less => None,
Equal => Some(base),
Greater => {
if prefix_array.value(base - 1) == prefix {
if base > 0 && prefix_array.value(base - 1) == prefix {
Some(base - 1)
} else {
None
Expand Down

0 comments on commit 03d6324

Please sign in to comment.