go-sqlite3: temporary manual fix until we update from upstream

Change-Id: Icacb6f467b6c4058bcfc65e71d5ff8265cdc6c9f
This commit is contained in:
Brad Fitzpatrick 2013-12-04 14:14:22 +01:00
parent c7a0c5842c
commit 09dddbc63a
1 changed files with 4 additions and 1 deletions

View File

@ -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)
}
}