-
Notifications
You must be signed in to change notification settings - Fork 2.3k
auto connection problem when using go 1.2 #206
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
Comments
Looks a lot like http://golang.org/issue/5718 |
to solve the problem, should I build go from source myself? |
Yes you should and no, there's no way not involving waiting unless you find a packaged version of tip for your OS. |
You could just update the database/sql package (just replace the source files in |
ok, update to tip solved the problem |
hello, I found a bug when using this driver, and I'm not sure this bug is from driver or database/sql.
bug describe in brief:
a). prepare a Stmt with "select" query
b). kill database connection.
c). call Stmt.QueryRow.Scan() will fail util next call
outputs:
a). prepare a Stmt with "insert" query.
b). kill database connection.
c). call Stmt.Exec() will fail and never reconnect to database.
outputs:
my test source code:
The text was updated successfully, but these errors were encountered: