mirror of
https://github.com/golang/go
synced 2024-11-15 02:10:21 -07:00
[release-branch.go1.2] database/sql: Fix typos in doc
««« CL 17590043 / fb5224487f1b database/sql: Fix typos in doc R=golang-dev CC=bradfitz, golang-dev https://golang.org/cl/17590043 »»» R=golang-dev CC=golang-dev https://golang.org/cl/20150046
This commit is contained in:
parent
89f0148955
commit
6d10afd9e5
@ -140,8 +140,8 @@ type Stmt interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ColumnConverter may be optionally implemented by Stmt if the
|
// ColumnConverter may be optionally implemented by Stmt if the
|
||||||
// the statement is aware of its own columns' types and can
|
// statement is aware of its own columns' types and can convert from
|
||||||
// convert from any type to a driver Value.
|
// any type to a driver Value.
|
||||||
type ColumnConverter interface {
|
type ColumnConverter interface {
|
||||||
// ColumnConverter returns a ValueConverter for the provided
|
// ColumnConverter returns a ValueConverter for the provided
|
||||||
// column index. If the type of a specific column isn't known
|
// column index. If the type of a specific column isn't known
|
||||||
|
@ -201,7 +201,7 @@ type DB struct {
|
|||||||
connRequests *list.List // of connRequest
|
connRequests *list.List // of connRequest
|
||||||
numOpen int
|
numOpen int
|
||||||
pendingOpens int
|
pendingOpens int
|
||||||
// Used to sygnal the need for new connections
|
// Used to signal the need for new connections
|
||||||
// a goroutine running connectionOpener() reads on this chan and
|
// a goroutine running connectionOpener() reads on this chan and
|
||||||
// maybeOpenNewConnections sends on the chan (one send per needed connection)
|
// maybeOpenNewConnections sends on the chan (one send per needed connection)
|
||||||
// It is closed during db.Close(). The close tells the connectionOpener
|
// It is closed during db.Close(). The close tells the connectionOpener
|
||||||
|
Loading…
Reference in New Issue
Block a user