From 09dddbc63af80d105d57be38c27e769a8709cd2c Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 4 Dec 2013 14:14:22 +0100 Subject: [PATCH] go-sqlite3: temporary manual fix until we update from upstream Change-Id: Icacb6f467b6c4058bcfc65e71d5ff8265cdc6c9f --- third_party/github.com/mattn/go-sqlite3/sqlite3.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/third_party/github.com/mattn/go-sqlite3/sqlite3.go b/third_party/github.com/mattn/go-sqlite3/sqlite3.go index e126e43ad..0d1dfeed9 100644 --- a/third_party/github.com/mattn/go-sqlite3/sqlite3.go +++ b/third_party/github.com/mattn/go-sqlite3/sqlite3.go @@ -388,7 +388,10 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error { dest[i] = time.Time{} } default: - dest[i] = s + // NOTE(bradfitz): local hack, without internet access. I imagine + // this has been fixed upstream properly. (the database/sql/driver + // docs say that you can't return strings here) + dest[i] = []byte(s) } }