From 4a7ad328b73ee507116963d0fea8ecac4cb17990 Mon Sep 17 00:00:00 2001 From: mpl Date: Thu, 5 Dec 2013 16:58:28 +0100 Subject: [PATCH] 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 --- sqlite3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlite3.go b/sqlite3.go index d2c566a..29166ed 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -525,7 +525,7 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error { dest[i] = time.Time{} } default: - dest[i] = s + dest[i] = []byte(s) } }