mirror of https://github.com/golang/go.git
database/sql: fix comment on DB.stop()
This commit is contained in:
parent
d75b7f9648
commit
38b338a0d1
|
|
@ -434,7 +434,7 @@ type DB struct {
|
|||
maxIdleTimeClosed int64 // Total number of connections closed due to idle time.
|
||||
maxLifetimeClosed int64 // Total number of connections closed due to max connection lifetime limit.
|
||||
|
||||
stop func() // stop cancels the connection opener and the session resetter.
|
||||
stop func() // stop cancels the connection opener.
|
||||
}
|
||||
|
||||
// connReuseStrategy determines how (*DB).conn returns database connections.
|
||||
|
|
|
|||
Loading…
Reference in New Issue