1
0
mirror of https://github.com/golang/go synced 2024-11-20 09:44:45 -07:00
go/src/database/sql
Marko Tiikkaja 9371babdd8 database/sql: Remove unnecessary call to maybeOpenNewConnections
numCanOpen will never be larger than 0 in maybeOpenNewConnections() when this
code path is taken, so no new connections can ever be opened.

Change-Id: Id1302e8d9afb3a67be61b5e738fe07ef81d20fe0
Reviewed-on: https://go-review.googlesource.com/1550
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2014-12-24 02:39:12 +00:00
..
driver build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
convert_test.go build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
convert.go build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
doc.txt build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
example_test.go build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
fakedb_test.go database/sql: make TestDrivers not crash on second run 2014-10-31 09:49:42 -07:00
sql_test.go database/sql: Close per-tx prepared statements when the associated tx ends 2014-09-22 09:19:27 -04:00
sql.go database/sql: Remove unnecessary call to maybeOpenNewConnections 2014-12-24 02:39:12 +00:00