Brad Fitzpatrick
7fc4c07172
database/sql: move from exp/sql
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5536076
2012-01-19 16:04:26 -08:00
Brad Fitzpatrick
bc0139b4b3
exp/sql: rename NullableString to NullString and allow its use as a parameter
...
Prep for Issue 2699
R=rsc
CC=golang-dev
https://golang.org/cl/5536045
2012-01-19 09:27:45 -08:00
Brad Fitzpatrick
ebc8013edf
exp/sql: copy when scanning into []byte by default
...
Fixes #2698
R=rsc
CC=golang-dev
https://golang.org/cl/5539060
2012-01-17 10:44:35 -08:00
Brad Fitzpatrick
bf734d62d8
exp/sql: add time.Time support
...
Fixes #2694
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5541057
2012-01-13 15:45:05 -08:00
Brad Fitzpatrick
1c441e259f
exp/sql: fix statement leak
...
Also verified in external test suite that this fixes MySQL
resource exhaustion problems, and also exposed a double-free
bug in the gosqlite3 driver (where gosqlite3 either got lucky
before, or was working around this bug)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5544057
2012-01-13 15:25:07 -08:00
Brad Fitzpatrick
701f70abf6
sql: fix potential corruption in QueryRow.Scan into a *[]byte
...
Fixes #2622
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5533077
2012-01-12 11:23:33 -08:00
Brad Fitzpatrick
4435c8bf2a
exp/sql: close Rows on EOF
...
Fixes #2624
R=rsc
CC=golang-dev
https://golang.org/cl/5530068
2012-01-10 12:51:27 -08:00
Brad Fitzpatrick
ea51dd23b4
sql: add Rows.Columns
...
Also, fix package name in error messages.
Fixes #2453
R=rsc
CC=golang-dev
https://golang.org/cl/5483088
2011-12-15 10:14:57 -08:00
Brad Fitzpatrick
06a9bc6835
sql: fix missing mutex unlock in an error case
...
Fixes #2542
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5483054
2011-12-12 13:56:56 -08:00
Brad Fitzpatrick
e77099daa2
sql: add Tx.Stmt to use an existing prepared stmt in a transaction
...
R=rsc
CC=golang-dev
https://golang.org/cl/5433059
2011-11-28 11:00:32 -05:00
Brad Fitzpatrick
750d0e33fb
sql: more driver docs & tests; no functional changes
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5415055
2011-11-20 14:56:49 -05:00
Brad Fitzpatrick
0a8005c772
sql: add DB.Close, fix bugs, remove Execer on Driver (only Conn)
...
R=rsc
CC=golang-dev
https://golang.org/cl/5372099
2011-11-14 10:48:26 -08:00
Russ Cox
c2049d2dfe
src/pkg/[a-m]*: gofix -r error -force=error
...
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/5322051
2011-11-01 22:04:37 -04:00
Robert Hencke
c50182480d
pkg: fix incorrect prints found by govet
...
R=golang-dev, nigeltao
CC=golang-dev
https://golang.org/cl/5266041
2011-10-13 13:34:01 +11:00
Brad Fitzpatrick
357f2cb1a3
exp/sql{,/driver}: new database packages
...
R=gustavo, rsc, borman, dave, kevlar, nigeltao, dvyukov, kardianos, fw, r, r, david.crawshaw
CC=golang-dev
https://golang.org/cl/4973055
2011-09-29 16:12:21 -07:00