diff options
author | mattn <mattn.jp@gmail.com> | 2018-06-12 18:20:33 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-12 18:20:33 +0900 |
commit | ecf0c3a82825782e97d35257fb266b238cfebc2e (patch) | |
tree | bbd1a9b275f9943a2138d4d421c25c223587bc53 /sqlite3.go | |
parent | Merge pull request #574 from GJRTimmer/update/travis (diff) | |
parent | fix/118 (diff) | |
download | golite-ecf0c3a82825782e97d35257fb266b238cfebc2e.tar.gz golite-ecf0c3a82825782e97d35257fb266b238cfebc2e.tar.xz |
Merge pull request #591 from mattn/fix/118
fix/118
Diffstat (limited to 'sqlite3.go')
-rw-r--r-- | sqlite3.go | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1937,8 +1937,6 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error { } n := int(C.sqlite3_column_bytes(rc.s.s, C.int(i))) switch dest[i].(type) { - case sql.RawBytes: - dest[i] = (*[1 << 30]byte)(p)[0:n] default: slice := make([]byte, n) copy(slice[:], (*[1 << 30]byte)(p)[0:n]) |