On 2020-03-17 19:21, Dimitry Sibiryakov wrote:
Hello all.

  Documentation for IStatement say this:

void free(StatusType* status) – free statement, releases interface on success.

  But what will happen on failure?

IStatement remains accessible, it's state depends upon an error.

What can be done in calling code after that?


- try to fix and repeat
- use release() to unconditionally release what possible and 'forget' about statement, certianly may cause resource leak
- format disk and die ;)




Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to