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
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@kardianos
Copy link
Contributor

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 The path to resolution is known, but the work has not been done. 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

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

@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.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

2 participants