Next(): populate Row with []byte instead of string, as per driver doc

Fix on behalf of bradfitz, see
http://golang.org/pkg/database/sql/driver/#Rows
systemlib
mpl 2013-12-05 16:58:28 +01:00
parent c066df8cd4
commit 4a7ad328b7
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error {
dest[i] = time.Time{} dest[i] = time.Time{}
} }
default: default:
dest[i] = s dest[i] = []byte(s)
} }
} }