Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/keyspan: fix interleaving iter intermediary state
Previously in InterleavingIter.prevPos when a) moving from a point key b) the point key was contained within a span c) no lesser point key exists prevPos would improperly move to posKeyspanEnd instead of posKeyspanStart. This doesn't have any externally visible impact on the behavior of the InterleavingIter because end boundaries are not interleaved: prevPos is called again before returning to the user, ensuring we step to posKeyspanStart. With cases.
- Loading branch information