Skip to content

Commit ab4f174

Browse files
committed
Fix bug
1 parent d61fdcd commit ab4f174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlite3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1987,7 +1987,7 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error {
19871987
case C.SQLITE_BLOB:
19881988
p := C.sqlite3_column_blob(rc.s.s, C.int(i))
19891989
if p == nil {
1990-
dest[i] = nil
1990+
dest[i] = []byte{}
19911991
continue
19921992
}
19931993
n := int(C.sqlite3_column_bytes(rc.s.s, C.int(i)))

0 commit comments

Comments
 (0)