This commit is contained in:
Frederick Akalin 2018-09-22 11:23:19 -07:00
parent d61fdcd55b
commit ab4f1745f3
1 changed files with 1 additions and 1 deletions

View File

@ -1987,7 +1987,7 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error {
case C.SQLITE_BLOB: case C.SQLITE_BLOB:
p := C.sqlite3_column_blob(rc.s.s, C.int(i)) p := C.sqlite3_column_blob(rc.s.s, C.int(i))
if p == nil { if p == nil {
dest[i] = nil dest[i] = []byte{}
continue continue
} }
n := int(C.sqlite3_column_bytes(rc.s.s, C.int(i))) n := int(C.sqlite3_column_bytes(rc.s.s, C.int(i)))