On 08-12-2020 16:55, Dimitry Sibiryakov wrote:
Should a custom implementation of IStatus recognize and ignore a special case when GDS error code is set to zero using parameter ( isc_arg_gds, 0, isc_arg_end } or error with zero code is also an error?
An isc_arg_gds with value 0 is not an error, and shouldn't be treated as such. The combination isc_arg_gds, 0, isc_arg_end is for example sent by the server in a generic response when a command completed successfully.
So, treating it as an error would be wrong, and potentially confusing. Mark -- Mark Rotteveel Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel