Skip to content

Commit c3c4584

Browse files
authored
fix - check rows for any errors (#462)
* check rows for any errors
1 parent c6bac65 commit c3c4584

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

data/sqlutil/sql.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,9 @@ func FrameFromRows(rows *sql.Rows, rowLimit int64, converters ...Converter) (*da
5959
i++
6060
}
6161

62+
if err := rows.Err(); err != nil {
63+
return frame, err
64+
}
65+
6266
return frame, nil
6367
}

0 commit comments

Comments
 (0)