Fixes #43116
Change-Id: Ib04fab6ae03f322aa1508ec00523f628d891247a
GitHub-Last-Rev:
0a86e665b2c320e0b2aef75ee53bd7281b19b013
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>
// 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)