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?
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.