Skip to content

Commit

Permalink
fix qvalue qrep
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed May 21, 2024
1 parent 83e505c commit 72aeba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/model/qrecord_copy_from_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func NewQRecordCopyFromSource(
func (src *QRecordCopyFromSource) Next() bool {
rec, ok := <-src.stream.Records
src.currentRecord = rec
return ok && src.Err() != nil
return ok || src.Err() != nil
}

func (src *QRecordCopyFromSource) Values() ([]interface{}, error) {
Expand Down

0 comments on commit 72aeba8

Please sign in to comment.