]> Cypherpunks repositories - gostls13.git/commit
database/sql: prefer to return Rows.lasterr rather then a static error
authorDaniel Theophanes <kardianos@gmail.com>
Sat, 27 Oct 2018 21:12:52 +0000 (14:12 -0700)
committerDaniel Theophanes <kardianos@gmail.com>
Mon, 29 Oct 2018 16:11:22 +0000 (16:11 +0000)
commitcf6e4238b63a180abd5a390dc8f11d50f024ba35
tree820a76602dd6b1743e75f9f43f07b25683d26e02
parent37afd3e31100a06229da61549abf5210a1dae8d0
database/sql: prefer to return Rows.lasterr rather then a static error

Fixes #25829

Change-Id: I400fdaf0ef3a23bc0d61c4873ffa298e0cf0fc6a
Reviewed-on: https://go-review.googlesource.com/c/145204
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/database/sql/sql.go