On 11.09.2019 16:19, Dimitry Sibiryakov wrote:
11.09.2019 15:05, Alex Peshkoff via Firebird-devel wrote:
One more related idea - return text in firebird-allocated buffer
which is later released by explicit cliens call.
The main visible disadvantage is possible deadlock when error is OOM.
If you return not plain pointer but a smart one you can return
statically allocated instance for OOM.
Definitely smart one and yes - that should work.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel