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: ensure Conn always uses the same driver.Conn from Stmt #20647

Closed
kardianos opened this issue Jun 12, 2017 · 1 comment
Closed

database/sql: ensure Conn always uses the same driver.Conn from Stmt #20647

kardianos opened this issue Jun 12, 2017 · 1 comment
Assignees
Milestone

Comments

@kardianos
Copy link
Contributor

@kardianos kardianos commented Jun 12, 2017

When filling #20646 I realized that the Stmt prepared from a sql.Conn would prepare the query on the specified sql.Conn, but it would not promises to run it from that sql.Conn. The Stmt needs to run any queries on the same driver.Conn.

@kardianos kardianos added the NeedsFix label Jun 12, 2017
@kardianos kardianos added this to the Go1.9 milestone Jun 12, 2017
@kardianos kardianos self-assigned this Jun 12, 2017
@gopherbot
Copy link

@gopherbot gopherbot commented Jun 12, 2017

CL https://golang.org/cl/45391 mentions this issue.

@gopherbot gopherbot closed this in cd24a8a Jun 13, 2017
@golang golang locked and limited conversation to collaborators Jun 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.