1
0
mirror of https://github.com/golang/go synced 2024-11-20 03:24:41 -07:00
go/src/database/sql
Julien Schmidt 678ce97635 database/sql: fix unreachable code in ColumnTypes test
Before this change the ct == 0 check could never be true. Moreover the
values were not properly indirected.

Change-Id: Ice47e36e3492babc4b47d2f9099e8772be231c96
Reviewed-on: https://go-review.googlesource.com/68130
Reviewed-by: Daniel Theophanes <kardianos@gmail.com>
Run-TryBot: Daniel Theophanes <kardianos@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-10-04 16:30:44 +00:00
..
driver database/sql: add OpenDB to directly create a *DB without a DSN. 2017-09-23 20:47:06 +00:00
convert_test.go database/sql: convertAssign string and time.Time into RawBytes 2017-10-01 16:41:57 +00:00
convert.go database/sql: convertAssign string and time.Time into RawBytes 2017-10-01 16:41:57 +00:00
ctxutil.go database/sql: fail on unsupported options when context is un-cancellable 2017-08-09 20:06:20 +00:00
doc.txt database/sql: fix outdated package name in doc.txt 2017-06-30 19:11:17 +00:00
example_test.go all: minor vet fixes 2016-10-24 17:27:37 +00:00
fakedb_test.go database/sql: correct level of write to same var for race detector 2017-06-12 21:58:53 +00:00
sql_test.go database/sql: fix unreachable code in ColumnTypes test 2017-10-04 16:30:44 +00:00
sql.go database/sql: update minor sql docs 2017-09-24 13:58:38 +00:00