database/sql: fix comment on DB.stop()

This commit is contained in:
Ayzat Sadykov 2020-10-25 01:00:02 +03:00
parent d75b7f9648
commit 38b338a0d1
1 changed files with 1 additions and 1 deletions

View File

@ -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.