FAQ
Hi,

If you run this code http://play.golang.org/p/CjkzvJYpUi it will block forever on the second time through the for loop. Change SetMaxIdleConns to 0 and it works.

Problem happens with either MySQL database driver, and with both db.Query()/Next/Close and db.QueryRow().Scan(). Is it a bug? Could someone help me understand?

Thanks!
Graham

--

---
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedJan 27, '14 at 5:21p
activeJan 27, '14 at 7:26p
posts3
users3
websitegolang.org

People

Translate

site design / logo © 2023 Grokbase