]> Cypherpunks repositories - gostls13.git/commit
database/sql: Use all connections in pool
authorMarko Tiikkaja <marko@joh.to>
Thu, 26 Dec 2013 19:27:18 +0000 (11:27 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 26 Dec 2013 19:27:18 +0000 (11:27 -0800)
commit0d12e24ebb037202c3324c230e075f1e448f6f34
tree64e274476326c85550ff485b999dfee77fd4f9c0
parent59583b09f3165dedd46800f46000c83c92a7faba
database/sql: Use all connections in pool

The last connection in the pool was not being handed out correctly.

R=golang-codereviews, gobot, bradfitz
CC=golang-codereviews
https://golang.org/cl/40410043
src/pkg/database/sql/sql.go
src/pkg/database/sql/sql_test.go