Skip to content

Commit

Permalink
db: fix merge skew
Browse files Browse the repository at this point in the history
Add WrapChildren method to probeKeyspanIterator.
  • Loading branch information
jbowens authored and RaduBerinde committed Jan 10, 2024
1 parent 3171a93 commit 136f75c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions keyspan_probe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,10 @@ func (p *probeKeyspanIterator) Prev() *keyspan.Span {
return p.handleOp(op)
}

func (p *probeKeyspanIterator) WrapChildren(wrap keyspan.WrapFn) {
p.iter = wrap(p.iter)
}

func (p *probeKeyspanIterator) Error() error {
return p.err
}
Expand Down

0 comments on commit 136f75c

Please sign in to comment.