Skip to content

Commit 902ca61

Browse files
authored
Merge commit from fork
1 parent 3dfa571 commit 902ca61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/remote/protocol.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ bool_t xdr_protocol(RemoteXdr* xdrs, PACKET* p)
907907

908908
ULONG count = b->p_batch_messages;
909909
ULONG size = statement->rsr_batch_size;
910-
if (!size)
910+
if (!size && statement->rsr_format)
911911
statement->rsr_batch_size = size = FB_ALIGN(statement->rsr_format->fmt_length, FB_ALIGNMENT);
912912
if (xdrs->x_op == XDR_DECODE)
913913
{

0 commit comments

Comments
 (0)