On 2020-01-29 17:21, Dimitry Sibiryakov wrote:
29.01.2020 13:35, Alex Peshkoff via Firebird-devel wrote:
Perhaps I had to go straight to object: is there an example of
IStatus::setWarnings2() usage?
StatusArg.cpp, 292
It doesn't show how to form input status array (sequence of tags).
Sh
29.01.2020 13:35, Alex Peshkoff via Firebird-devel wrote:
Perhaps I had to go straight to object: is there an example of IStatus::setWarnings2()
usage?
StatusArg.cpp, 292
It doesn't show how to form input status array (sequence of tags). Should it start from
isc_arg_gds(FB_SUCCESS) or st
On 2020-01-29 14:25, Dimitry Sibiryakov wrote:
29.01.2020 11:43, Dimitry Sibiryakov wrote:
Just to look at them as an example.
Perhaps I had to go straight to object: is there an example of
IStatus::setWarnings2() usage?
StatusArg.cpp, 292
Firebird-Devel mailing list, web interface
29.01.2020 11:43, Dimitry Sibiryakov wrote:
Just to look at them as an example.
Perhaps I had to go straight to object: is there an example of IStatus::setWarnings2()
usage?
--
WBR, SD.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebir
On 2020-01-29 10:57, Alex Peshkoff via Firebird-devel wrote:
On 2020-01-28 20:01, Dimitry Sibiryakov wrote:
28.01.2020 17:55, Alex Peshkoff via Firebird-devel wrote:
More or less obvious - if sql state to be set explicitly when
raising an exception and should differ from default for used error
29.01.2020 11:41, Alex Peshkoff via Firebird-devel wrote:
Add try/catch if you want to use internal classes in plugin.
Actually I don't want to use them. Just to look at them as an example.
--
WBR, SD.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/li
On 2020-01-29 13:35, Dimitry Sibiryakov wrote:
29.01.2020 08:57, Alex Peshkoff via Firebird-devel wrote:
You should be able to do something like
(Arg::Warning(isc_...) << Arg::SqlState("01000")).raise();
and after fixing related bugs see that sql state when warning is
displayed.
It won't wo
29.01.2020 08:57, Alex Peshkoff via Firebird-devel wrote:
You should be able to do something like
(Arg::Warning(isc_...) << Arg::SqlState("01000")).raise();
and after fixing related bugs see that sql state when warning is displayed.
It won't work in plugin because .raise() is throwing status_
On 2020-01-28 20:01, Dimitry Sibiryakov wrote:
28.01.2020 17:55, Alex Peshkoff via Firebird-devel wrote:
More or less obvious - if sql state to be set explicitly when raising
an exception and should differ from default for used error code.
Yes, it is obvious but I wonder how to use it with w
28.01.2020 17:55, Alex Peshkoff via Firebird-devel wrote:
More or less obvious - if sql state to be set explicitly when raising an exception and
should differ from default for used error code.
Yes, it is obvious but I wonder how to use it with warnings.
--
WBR, SD.
Firebird-Devel mailin
On 2020-01-28 19:42, Dimitry Sibiryakov wrote:
Hello, All.
In StatusArgs.h I see definition of SqlState class but no its usage
anywhere. How it is supposed to be used?
More or less obvious - if sql state to be set explicitly when raising an
exception and should differ from default for us
11 matches
Mail list logo