Skip to content

Commit

Permalink
db: fix merge skew
Browse files Browse the repository at this point in the history
Fix a small compliation error stemming from merge skew.
  • Loading branch information
jbowens committed Jan 5, 2022
1 parent 72d69b8 commit 90d9c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db.go
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ func finishInitializingIter(buf *iterAlloc) *Iterator {
// an interleaving iterator. The dbi.rangeKeysIter is an iterator into
// fragmented range keys read from the global range key arena.
if dbi.rangeKey != nil {
dbi.rangeKey.iter.Init(&buf.merging, dbi.rangeKey.rangeKeyIter)
dbi.rangeKey.iter.Init(dbi.split, &buf.merging, dbi.rangeKey.rangeKeyIter, nil)
dbi.iter = &dbi.rangeKey.iter
}
return dbi
Expand Down

0 comments on commit 90d9c97

Please sign in to comment.