Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
James Cor committed Nov 1, 2024
1 parent 11a5bd7 commit 082d2cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/node/context_root_finalizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ type rootFinalizerIter struct {
childIter sql.RowIter
}

var _ sql.CustomRowIter = (*rootFinalizerIter)(nil)
var _ sql.MutableRowIter = (*rootFinalizerIter)(nil)

// Next implements the interface sql.RowIter.
func (r *rootFinalizerIter) Next(ctx *sql.Context) (sql.Row, error) {
Expand All @@ -121,8 +121,8 @@ func (r *rootFinalizerIter) GetChildIter() sql.RowIter {
return r.childIter
}

// SetChildIter implements the interface sql.CustomRowIter.
func (r *rootFinalizerIter) SetChildIter(childIter sql.RowIter) sql.RowIter {
// WithChildIter implements the interface sql.CustomRowIter.
func (r *rootFinalizerIter) WithChildIter(childIter sql.RowIter) sql.RowIter {
nr := *r
nr.childIter = childIter
return &nr
Expand Down

0 comments on commit 082d2cb

Please sign in to comment.