2
0

Fix ignored deferred error with database/sql QueryRow

fixes #958
This commit is contained in:
Jack Christensen
2021-03-13 06:52:58 -06:00
parent 38ab93613b
commit e93da6c744
2 changed files with 40 additions and 1 deletions
+1 -1
View File
@@ -514,7 +514,7 @@ func (r *Rows) ColumnTypeScanType(index int) reflect.Type {
func (r *Rows) Close() error {
r.rows.Close()
return nil
return r.rows.Err()
}
func (r *Rows) Next(dest []driver.Value) error {