Skip to content

Commit e93f6ae

Browse files
committed
Make fix for #8056 not break RDB$BLOB_UTIL with segmented blobs.
1 parent 7828f48 commit e93f6ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jrd/exe.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,8 @@ void EXE_receive(thread_db* tdbb,
751751
}
752752

753753
if (!current->bli_materialized &&
754-
(current->bli_blob_object->blb_flags & BLB_close_on_read))
754+
(current->bli_blob_object->blb_flags & (BLB_close_on_read | BLB_stream)) ==
755+
(BLB_close_on_read | BLB_stream))
755756
{
756757
current->bli_blob_object->BLB_close(tdbb);
757758
}

0 commit comments

Comments
 (0)