Skip to content

Commit 924897f

Browse files
authored
Merge pull request #8559 from FirebirdSQL/work/gh-8522
Improvement #8522 : exception in fbclient during isc_detach_database
2 parents 136fa13 + 658670c commit 924897f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/remote/protocol.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,9 @@ bool_t xdr_protocol(RemoteXdr* xdrs, PACKET* p)
10981098
MAP(xdr_short, reinterpret_cast<SSHORT&>(b->p_batch_statement));
10991099
MAP(xdr_cstring_const, b->p_batch_blob_bpb);
11001100

1101+
if (xdrs->x_op == XDR_FREE)
1102+
return P_TRUE(xdrs, p);
1103+
11011104
Rsr* statement = getStatement(xdrs, b->p_batch_statement);
11021105
if (!statement)
11031106
return P_FALSE(xdrs, p);

0 commit comments

Comments
 (0)