aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/database/sql/sql.go
AgeCommit message (Collapse)Author
2012-03-08database/sql{,driver}: add ErrBadConnBrad Fitzpatrick
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5785043
2012-03-06database/sql: add docs about connection state, poolingBrad Fitzpatrick
Fixes #3223 R=golang-dev, r CC=golang-dev https://golang.org/cl/5755063
2012-03-06database/sql: fix typo bug resulting in double-PrepareBrad Fitzpatrick
Bug reported by Blake Mizerany found while writing his new Postgres driver. R=golang-dev, blake.mizerany CC=golang-dev https://golang.org/cl/5754057
2012-02-20database/sql/driver: API cleanupsBrad Fitzpatrick
-- add driver.Value type and documentation, convert from interface{} to Value where appropriate. -- don't say "subset" anywhere, -- SubsetValuer -> Valuer -- SubsetValue -> Value -- IsParameterSubsetType -> IsValue -- IsScanSubsetType -> IsScanValue Fixes #2842 R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/5674084
2012-02-10database/sql: remove Into from ScannerInto/ScanIntoBrad Fitzpatrick
Also fix a doc error. Fixes #2843 R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/5653050
2012-02-10database/sql: support ErrSkip in Tx.ExecAndrew Balholm
If the database driver supports the Execer interface but returns ErrSkip, calling Exec on a transaction was returning the error instead of using the slow path. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5654044
2012-02-10database/sql: rename ErrTransactionFinished to ErrTxDoneBrad Fitzpatrick
Part of issue 2843 R=golang-dev, gri CC=golang-dev https://golang.org/cl/5646063
2012-02-06database/sql: permit scanning into interface{}Brad Fitzpatrick
See thread http://goo.gl/7zzzU for background. R=rsc CC=golang-dev https://golang.org/cl/5624051
2012-01-26 database/sql: convert SQL null values to []byte as nil.James P. Cooper
Also allow string values to scan into []byte. Fixes #2788. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5577054
2012-01-25database/sql: fix Tx.QueryBlake Mizerany
Fixes #2784 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5574073
2012-01-25database/sql: add NullInt64, NullFloat64, NullBoolJames P. Cooper
Fixes #2699 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5557063
2012-01-19database/sql: move from exp/sqlBrad Fitzpatrick
R=golang-dev, r CC=golang-dev https://golang.org/cl/5536076