go-sql-driver / go-sql-driver/mysql

[database/sql] At least 32 bytes of garbage allocated per column

Open
#192 1 comment 0 reactions 1 assignee Claimed by @julienschmidt View on GitHub
database/sql issue performance
Dominant language
Go
Stars
15.3k
Forks
2.3k
Avg merge
2h 23m
Merged PRs (30d)
10

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.