]> Cypherpunks repositories - gostls13.git/commit
database/sql: support ErrSkip in Tx.Exec
authorAndrew Balholm <andybalholm@gmail.com>
Thu, 9 Feb 2012 22:19:22 +0000 (09:19 +1100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 9 Feb 2012 22:19:22 +0000 (09:19 +1100)
commitaca4a6c933c34f136408653c30595a9471372d5e
treef1da4f21ee2158e803ec5ff650f3f7140ff46c29
parenteaf640dbc41ab96dbae5b55708b2e42eec22fd53
database/sql: support ErrSkip in Tx.Exec

If the database driver supports the Execer interface but returns
ErrSkip, calling Exec on a transaction was returning the error instead
of using the slow path.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5654044
src/pkg/database/sql/sql.go