aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/sql.go
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2015-09-14 00:18:22 +0000
committerAndrew Gerrand <adg@golang.org>2015-09-14 00:20:55 +0000
commitb07a51b3d443660e3489d0821facf8b401177034 (patch)
tree4b5f9606dce7c3ffe8e34717810d3b0c76548614 /src/database/sql/sql.go
parent4c96e7b79b9bb8207885e8ba63cc19f2d863b75c (diff)
downloadgo-b07a51b3d443660e3489d0821facf8b401177034.tar.xz
database/sql: fix typo
Fixes #12606 Change-Id: Ib68cb20108ad35c3dd96e606649c4c8f9c0f085c Reviewed-on: https://go-review.googlesource.com/14571 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/database/sql/sql.go')
-rw-r--r--src/database/sql/sql.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/sql/sql.go b/src/database/sql/sql.go
index 0120ae8abe..8a2d781330 100644
--- a/src/database/sql/sql.go
+++ b/src/database/sql/sql.go
@@ -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