When trying to execute this code: http://play.golang.org/p/Zt4QRS9dDG I get error:
panic: sql: Scan error on column index 0: unsupported driver -> Scan pair: int64 -> *sql.RawBytes
Am I doing something wrong or this is the issue with mymysql driver?
I can't reproduce your problem because your code can't be compiled: a, b, c variables aren't defined (panic suggest that in real code 'a' is of type *sql.RawBytes). Did you check types of these variables?
Sorry I made last changes in the browser without trying to run it.
So yeah a, b and c variables should have type: sql.RawBytes.
Here is modified code: http://play.golang.org/p/yu_HX3-zeD
It seems that this is database/sql issue. See source of Scan method (http://golang.org/src/pkg/database/sql/sql.go?s=24916:24963#L945) and convertAssign in http://golang.org/src/pkg/database/sql/convert.go