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

how to get a clear conn from the database/sql conn pool? #17849

Closed
xuewindy opened this issue Nov 8, 2016 · 1 comment
Closed

how to get a clear conn from the database/sql conn pool? #17849

xuewindy opened this issue Nov 8, 2016 · 1 comment

Comments

@xuewindy
Copy link

xuewindy commented Nov 8, 2016

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.6

What operating system and processor architecture are you using (go env)?

debian

What did you do?

i didn't get a error ,
but i write a server using database/sql
when i want to set time_zone ="+00:00" and do something in session a and then put conn
and then i wang do another things and i got a conn from pool
will the status be "+00:00" instead of system time ?
can i do sometiong to reset the conn when put back conn?

@bradfitz
Copy link
Contributor

bradfitz commented Nov 8, 2016

For questions about Go, see https://golang.org/wiki/Questions

@bradfitz bradfitz closed this as completed Nov 8, 2016
@golang golang locked and limited conversation to collaborators Nov 8, 2017
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