Skip to content

Commit 5583431

Browse files
committed
Blob I/O: use keys in struct init
1 parent 867ec21 commit 5583431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blob_io.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func (conn *SQLiteConn) Blob(database, table, column string, rowid int64, flags
5252
}
5353

5454
size := int(C.sqlite3_blob_bytes(blob))
55-
bb := &SQLiteBlob{conn, blob, size, 0}
55+
bb := &SQLiteBlob{conn: conn, blob: blob, size: size, offset: 0}
5656

5757
runtime.SetFinalizer(bb, (*SQLiteBlob).Close)
5858

0 commit comments

Comments
 (0)