On 12/9/20 2:31 PM, Dimitry Sibiryakov wrote:
09.12.2020 12:23, Alex Peshkoff via Firebird-devel wrote:
That depends upon getState() internals, is not it? :)
Yes. Firebird implementation recognizes zero error code in
getState() so I wonder if it is a specs' requirement or such
recognition
09.12.2020 12:23, Alex Peshkoff via Firebird-devel wrote:
That depends upon getState() internals, is not it? :)
Yes. Firebird implementation recognizes zero error code in getState() so I wonder if it
is a specs' requirement or such recognition can be performed in other places.
--
WBR,
On 12/8/20 8:20 PM, Dimitry Sibiryakov wrote:
08.12.2020 17:36, Alex Peshkoff via Firebird-devel 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
08.12.2020 17:36, Alex Peshkoff via Firebird-devel 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?
From IStatus POV - also an
On 12/8/20 6:55 PM, Dimitry Sibiryakov wrote:
Hello All.
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?
From IStatus POV - also an
On 08-12-2020 17:17, Dimitry Sibiryakov wrote:
08.12.2020 17:13, Mark Rotteveel wrote:
So, treating it as an error would be wrong, and potentially confusing.
But the routine is called "setErrors" so it is also confusing when it
is actually called to clean errors.
Although it is
On 08-12-2020 16:55, Dimitry Sibiryakov wrote:
Hello All.
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?
Although it is
08.12.2020 17:13, Mark Rotteveel wrote:
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
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
Hello All.
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?
--
WBR, SD.
Firebird-Devel mailing list, web interface at
10 matches
Mail list logo