]> Cypherpunks.ru repositories - gostls13.git/commit
database/sql: fix comment on DB.stop()
authorAyzat Sadykov <ayzat.ziko.93@gmail.com>
Sat, 24 Oct 2020 22:11:51 +0000 (22:11 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 27 Oct 2020 15:12:12 +0000 (15:12 +0000)
commitde477138d1b11982e86d8d0898e2a471771899b6
treec8b230e37eea2394ee9a2345fabb8830c75751e9
parent69496a22682108bed606d4d509cfa3253f0cac3b
database/sql: fix comment on DB.stop()

Previously, 2 goroutines were created in OpenDB and a comment in the DB.close() field indicated that they were canceled. Later, session Resetter () was removed, but the comment remained the same. This commit just fixes this message

Change-Id: Ie81026f51d7770e9cf8004818154021f626fb2e8
GitHub-Last-Rev: 38b338a0d1cd713d71fa547aa842d395e6d75484
GitHub-Pull-Request: golang/go#42191
Reviewed-on: https://go-review.googlesource.com/c/go/+/264838
Reviewed-by: Daniel Theophanes <kardianos@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Trust: Brad Fitzpatrick <bradfitz@golang.org>
src/database/sql/sql.go