diff --git a/src/firebird/driver/core.py b/src/firebird/driver/core.py index 12d3ae0..e5ab0f0 100644 --- a/src/firebird/driver/core.py +++ b/src/firebird/driver/core.py @@ -3618,7 +3618,7 @@ def _unpack_output(self) -> Tuple: val = buffer[offset:offset+length] blobid = a.ISC_QUAD((0).from_bytes(val[:4], 'little'), (0).from_bytes(val[4:], 'little')) - blob = self._connection._att.open_blob(self._transaction._tra, blobid, _bpb_stream) + blob = self._connection._att.open_blob(self._transaction._tra, blobid) # Get BLOB total length and max. size of segment blob_length = blob.get_info2(BlobInfoCode.TOTAL_LENGTH) segment_size = blob.get_info2(BlobInfoCode.MAX_SEGMENT)