It appears, that Delphi XE 10.2 code makes the second call only in the specific case: if (fetch_res = isc_bad_stmt_handle) then And that makes the erroneous second call rare enough to solve the problem in my question. So, the solution is to replace the initial general condition (fetch_res <> isc_lock_conflict) with the more specific condition (fetch_res = isc_bad_stmt_handle) That completes my question, the problem solved.
[firebird-support] Re: Firebird 3.x error “Attem pt to execute an unprepared d ynamic SQL statement” in De lphi IBX exception handling?
[email protected] [firebird-support] Sun, 07 Oct 2018 23:42:01 -0700
- [firebird-support... [email protected] [firebird-support]
- [firebird-su... [email protected] [firebird-support]
- [firebir... [email protected] [firebird-support]
- Re: ... Dimitry Sibiryakov [email protected] [firebird-support]
- ... [email protected] [firebird-support]
- ... [email protected] [firebird-support]
