Skip to content

Commit aaa3065

Browse files
author
James Cor
committed
oh...
1 parent 0210056 commit aaa3065

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/table_iter.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ func (i *TableRowIter) NextRowFrame(ctx *Context, rowFrame *RowFrame) error {
175175
}
176176
i.rows2 = rows.(RowIter2)
177177
}
178+
178179
rows, ok := i.rows2.(RowFrameIter)
179180
if !ok {
180181
panic(fmt.Sprintf("%T does not implement sql.RowFrameIter", i.rows))
@@ -189,7 +190,7 @@ func (i *TableRowIter) NextRowFrame(ctx *Context, rowFrame *RowFrame) error {
189190
i.rows2 = nil
190191
err = i.NextRowFrame(ctx, rowFrame)
191192
}
192-
return nil
193+
return err
193194
}
194195

195196
func (i *TableRowIter) Close(ctx *Context) error {

0 commit comments

Comments
 (0)