fatal signals an error occurred after the query was sent to the server. It closes the rows automatically.
(err error)
| 209 | // fatal signals an error occurred after the query was sent to the server. It |
| 210 | // closes the rows automatically. |
| 211 | func (rows *baseRows) fatal(err error) { |
| 212 | if rows.err != nil { |
| 213 | return |
| 214 | } |
| 215 | |
| 216 | rows.err = err |
| 217 | rows.Close() |
| 218 | } |
| 219 | |
| 220 | func (rows *baseRows) Next() bool { |
| 221 | if rows.closed { |