On 2020-04-22 16:25, Tony Whyman wrote:
While on the subject of incompleteness in the Firebird 3 API, I never
found any alternative to the following utility functions from the
legacy API.
isc_sqlcode
isc_sql_interprete
isc_interprete
isc_event_counts
isc_event_block
isc_free
This is not a big deal as these are all local functions with no
database context. The first 3 are needed for decoding the status
vector and could be included in IStatus, while the latter 3 are needed
to manage the events buffer and hence could be part of IEvents.
Was there any reason for leaving these out of the new API?
The main reason was that they are out of database context.
What about isc_sqlcode() & isc_sql_interprete() - SQL error codes were
deprecated in favor of SQL state. isc_interprete() is unsafe and was
deprecated long before fb3 and new API.
What about events-related functions - we wanted to build new, better
events API, but... as always.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel