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: Tx.Query closes stmt object before returning #2784

Closed
bradfitz opened this issue Jan 25, 2012 · 2 comments
Closed

database/sql: Tx.Query closes stmt object before returning #2784

bradfitz opened this issue Jan 25, 2012 · 2 comments
Milestone

Comments

@bradfitz
Copy link
Contributor

On Sat, Jan 21, 2012 at 6:41 PM, Scott Lawrence <bytbox@gmail.com> wrote:
Tx.Query closes the stmt object before returning - DB.Query does not.
The former causes a panic, at least with go-sqlite3. Is either one
incorrect?

--
Scott Lawrence
@bradfitz
Copy link
Contributor Author

Comment 1:

Owner changed to ---.

@bradfitz
Copy link
Contributor Author

Comment 2:

This issue was closed by revision bcb976c.

Status changed to Fixed.

@rsc rsc added this to the Go1 milestone Apr 10, 2015
@rsc rsc removed the priority-go1 label Apr 10, 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