Skip to content

Commit b82a972

Browse files
authored
Merge pull request #45 from FirebirdSQL/work/blob_open_bpb
Don't use _bpb_stream when opening blob
2 parents 86523be + cd28057 commit b82a972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firebird/driver/core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3618,7 +3618,7 @@ def _unpack_output(self) -> Tuple:
36183618
val = buffer[offset:offset+length]
36193619
blobid = a.ISC_QUAD((0).from_bytes(val[:4], 'little'),
36203620
(0).from_bytes(val[4:], 'little'))
3621-
blob = self._connection._att.open_blob(self._transaction._tra, blobid, _bpb_stream)
3621+
blob = self._connection._att.open_blob(self._transaction._tra, blobid)
36223622
# Get BLOB total length and max. size of segment
36233623
blob_length = blob.get_info2(BlobInfoCode.TOTAL_LENGTH)
36243624
segment_size = blob.get_info2(BlobInfoCode.MAX_SEGMENT)

0 commit comments

Comments
 (0)