Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/remote/protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2502,7 +2502,8 @@ static bool_t xdr_blob_stream(RemoteXdr* xdrs, SSHORT statement_id, CSTRING* str
flow.newBlob(*blobSize, *bpbSize);
localStrm.curBpb.clear();

if (!flow.bpbSize)
// A zero BLOB ID continues the preceding BLOB; keep its decoded kind.
if (!flow.bpbSize && (batchBlobId->gds_quad_high || batchBlobId->gds_quad_low))
localStrm.segmented = statement->rsr_batch_flags & (1 << Jrd::DsqlBatch::FLAG_DEFAULT_SEGMENTED);

continue;
Expand Down