]> Cypherpunks repositories - gostls13.git/commitdiff
database/sql: fix typo
authorAndrew Gerrand <adg@golang.org>
Mon, 14 Sep 2015 00:18:22 +0000 (00:18 +0000)
committerAndrew Gerrand <adg@golang.org>
Mon, 14 Sep 2015 00:20:55 +0000 (00:20 +0000)
Fixes #12606

Change-Id: Ib68cb20108ad35c3dd96e606649c4c8f9c0f085c
Reviewed-on: https://go-review.googlesource.com/14571
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/database/sql/sql.go

index 0120ae8abefafdf7e2c12750b496a477b9c862cb..8a2d781330bead1379eff6926bfbe92fa479e486 100644 (file)
@@ -441,7 +441,7 @@ func (db *DB) removeDepLocked(x finalCloser, dep interface{}) func() error {
        }
 }
 
-// This is the size of the connectionOpener request chan (dn.openerCh).
+// This is the size of the connectionOpener request chan (DB.openerCh).
 // This value should be larger than the maximum typical value
 // used for db.maxOpen. If maxOpen is significantly larger than
 // connectionRequestQueueSize then it is possible for ALL calls into the *DB