mysql
mysql copied to clipboard
[database/sql] At least 32 bytes of garbage allocated per column
This is not a go-sql-driver/mysql bug report, but a bug report against database/sql and database/sql/driver itself.
I filed the master bug here:
https://code.google.com/p/go/issues/detail?id=6918
... which is that even with sql.RawBytes, the design of database/sql and database/sql/driver requires garbage to be allocated per column.
This bug is about adding support for *driver.Sink which I hope to add to database/sql in Go 1.3.
Thoughts on the design are welcome at https://github.com/golang/go/issues/6918 [Edited by JS]
Thanks!