Re: [Firebird-devel] isc_database_info() and unknown info items

2020-02-12 Thread Alex Peshkoff via Firebird-devel
On 2020-02-11 21:16, Dimitry Sibiryakov wrote: 11.02.2020 18:18, Alex Peshkoff via Firebird-devel wrote: Return isc_info_error.   One funny thing there is with this item: in IB API it is always named to be a single-byte tag the same as isc_info_end and isc_info_truncated while everywhere in

Re: [Firebird-devel] isc_database_info() and unknown info items

2020-02-11 Thread Dimitry Sibiryakov
11.02.2020 18:18, Alex Peshkoff via Firebird-devel wrote: Return isc_info_error. One funny thing there is with this item: in IB API it is always named to be a single-byte tag the same as isc_info_end and isc_info_truncated while everywhere in code it is used as an ordinary info item with

Re: [Firebird-devel] isc_database_info() and unknown info items

2020-02-11 Thread Alex Peshkoff via Firebird-devel
On 2020-02-11 19:22, Dimitry Sibiryakov wrote: Hello, All.   In my own provider is it ok to silently ignore info items that are not applicable to the provider or isc_info_error must be returned? Return isc_info_error. Looks like client's code should be able to at least it. Something like