Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database/sql: Change error message for closed connection #5816

Closed
gopherbot opened this issue Jun 30, 2013 · 2 comments
Closed

database/sql: Change error message for closed connection #5816

gopherbot opened this issue Jun 30, 2013 · 2 comments

Comments

@gopherbot
Copy link

by Sjon.Hortensius:

In database/sql/sql.go:473 there is an error message "sql: database is closed"
which I think should be changed to "sql: connection is closed"
@robpike
Copy link
Contributor

robpike commented Jul 11, 2013

Comment 1:

Labels changed: added priority-later, removed priority-triage.

Owner changed to @bradfitz.

Status changed to Accepted.

@bradfitz
Copy link
Contributor

Comment 2:

No, that field is controlled by (*DB).Close, which closes the whole database.
Re-open if that is incorrect.

Status changed to WorkingAsIntended.

@mikioh mikioh changed the title database/sql - Change error message for closed connection database/sql: Change error message for closed connection Feb 18, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants