mirror of
https://github.com/golang/go
synced 2024-11-11 19:51:37 -07:00
database/sql: fix typo in comment
Fixes #43116
Change-Id: Ib04fab6ae03f322aa1508ec00523f628d891247a
GitHub-Last-Rev: 0a86e665b2
GitHub-Pull-Request: golang/go#43122
Reviewed-on: https://go-review.googlesource.com/c/go/+/276992
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Daniel Theophanes <kardianos@gmail.com>
This commit is contained in:
parent
56b783ad94
commit
422dc83baa
@ -1141,7 +1141,7 @@ func (db *DB) connectionOpener(ctx context.Context) {
|
||||
|
||||
// Open one new connection
|
||||
func (db *DB) openNewConnection(ctx context.Context) {
|
||||
// maybeOpenNewConnctions has already executed db.numOpen++ before it sent
|
||||
// maybeOpenNewConnections has already executed db.numOpen++ before it sent
|
||||
// on db.openerCh. This function must execute db.numOpen-- if the
|
||||
// connection fails or is closed before returning.
|
||||
ci, err := db.connector.Connect(ctx)
|
||||
|
Loading…
Reference in New Issue
Block a user