On 7/26/22 18:30, Leyne, Sean wrote:
-----Original Message-----
From: Alex Peshkoff via Firebird-devel <firebird-
de...@lists.sourceforge.net>
On 7/26/22 14:39, Mark Rotteveel wrote:
On 16-07-2022 10:54, Mark Rotteveel wrote:
Is sending op_batch_rls necessary in the wire protocol, or is closing
the statement itself sufficient?
Similar question, is a batch automatically released when unpreparing
the statement, or preparing a new statement text?
Yes, it's released.
Alex,
You didn't really answer the "when" part of the question.
Is the statement released:
(a) when the statement is unprepared, OR
(b) when new statement text is prepared, OR
(c) both (a) and (b)
Sean, yes to both. From server POV both 'unprepared' and 'new statement
text is prepared' means that old statement is dropped (next new one may
be created when needed). And certainly server cleans up during
statement drop, including batch data structures.
Alex.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel