Deadlock on SELECT
I'm trying to use QL in a project, but run into a deadlock on the first attempt to write a test. Presumably I'm doing something wrong, but I'm not sure what.
http://play.golang.org/p/EWD9Aa98NH
The deadlock occurs on doing a .Scan()
after a select returning no rows (line 54 in the playground link). It should be a pretty straight application of the example in http://golang.org/pkg/database/sql/#example_DB_QueryRow