8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 21:23:03 +01:00

Improvement GH-6748 : Freeing a statement using DSQL_drop or DSQL_unprepare should send free packet immediately [CORE6519]

This commit is contained in:
hvlad 2021-05-04 15:51:47 +03:00
parent 61e1b76abb
commit 6ec6c73c29

View File

@ -2319,7 +2319,8 @@ void Statement::freeClientData(CheckStatusWrapper* status, bool force)
if (rdb->rdb_port->port_flags & PORT_lazy) if (rdb->rdb_port->port_flags & PORT_lazy)
{ {
defer_packet(rdb->rdb_port, packet); send_packet(rdb->rdb_port, packet);
defer_packet(rdb->rdb_port, packet, true);
packet->p_resp.p_resp_object = statement->rsr_id; packet->p_resp.p_resp_object = statement->rsr_id;
} }
else else