Skip to content

Commit

Permalink
Merge pull request dolthub#2833 from alrs/store-types-err
Browse files Browse the repository at this point in the history
store/types: fix dropped error
  • Loading branch information
andy-wm-arthur authored Feb 18, 2022
2 parents 05de6b4 + b03f8e7 commit f4b1d8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/store/types/map.go
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,9 @@ func indexForKeyWithinSubtree(ctx context.Context, key orderedKey, metaSeq metaS
}

isLess, err := key.Less(vrw.Format(), tupleKey)
if err != nil {
return 0, err
}
if !isLess {
eq := tupleKey.v.Equals(key.v)
if eq {
Expand Down

0 comments on commit f4b1d8f

Please sign in to comment.