Skip to content

Commit d7f4e46

Browse files
author
James Cor
committed
comments
1 parent 2bd1d1f commit d7f4e46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sql/plan/process.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ func (i *TrackedRowIter) NextValueRow(ctx *sql.Context) (sql.ValueRow, error) {
330330
return row, nil
331331
}
332332

333-
// CanSupport implements the sql.ValueRowIter interface.
333+
// IsValueRowIter implements the sql.ValueRowIter interface.
334334
func (i *TrackedRowIter) IsValueRowIter(ctx *sql.Context) bool {
335335
iter, ok := i.iter.(sql.ValueRowIter)
336336
return ok && iter.IsValueRowIter(ctx)

sql/rowexec/transaction_iters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func (t *TransactionCommittingIter) NextValueRow(ctx *sql.Context) (sql.ValueRow
104104
return t.childIter.(sql.ValueRowIter).NextValueRow(ctx)
105105
}
106106

107-
// CanSupport implements the sql.ValueRowIter interface.
107+
// IsValueRowIter implements the sql.ValueRowIter interface.
108108
func (t *TransactionCommittingIter) IsValueRowIter(ctx *sql.Context) bool {
109109
childIter, ok := t.childIter.(sql.ValueRowIter)
110110
return ok && childIter.IsValueRowIter(ctx)

0 commit comments

Comments
 (0)