On 18-8-2015 11:24, Jiří Činčura wrote:
> Hi *,
>
> When I'm trying to get SQLSTATE in case of error I find isc_arg_sql_state (if
> any) and I read the string. That works fine for server. For embedded the
> isc_arg_sql_state is there, but the string is null. Is that expected behavior
> of embedd
Then it might point to wrong processing of the status vector in the native
binding in the .net provider.
Mark
- Reply message -
Van: "Геннадий Забула"
Aan: "For discussion among Firebird Developers"
Onderwerp: [Firebird-devel] SQLSTATE difference between server and embedded
Datum: di,
No, the server is accessed via wire protocol.
Embedded database is accessed using native bindings. IIUC.
On 18 August 2015 at 20:15, Mark Rotteveel wrote:
> Are both cases using the native access? Or is one using the wire protocol?
>
> Mark
>
> - Reply message -
> Van: "Jiří Činčura"
> A
Are both cases using the native access? Or is one using the wire protocol?
Mark
- Reply message -
Van: "Jiří Činčura"
Aan: "For discussion among Firebird Developers"
Onderwerp: [Firebird-devel] SQLSTATE difference between server and embedded
Datum: di, aug. 18, 2015 11:24
Hi *,
When I
in descrived case expected string is "42000"
On 18 August 2015 at 19:41, Dmitry Yemanov wrote:
> 18.08.2015 19:36, Геннадий Забула wrote:
>
>> fb_sqlstate() returns expected string.
>
> What is expected string? Looking at the code I'd say it cannot return
> anything better than "HY000".
>
>
> Dmi
18.08.2015 19:36, Геннадий Забула wrote:
> fb_sqlstate() returns expected string.
What is expected string? Looking at the code I'd say it cannot return
anything better than "HY000".
Dmitry
--
Firebird-Devel mailing l
fb_sqlstate() returns expected string.
On 18 August 2015 at 17:30, Dmitry Yemanov wrote:
> 18.08.2015 12:24, Jiří Činčura wrote:
>>
>> When I'm trying to get SQLSTATE in case of error I find isc_arg_sql_state
>> (if any) and I read the string.
>> That works fine for server. For embedded the isc_
18.08.2015 12:24, Jiří Činčura wrote:
>
> When I'm trying to get SQLSTATE in case of error I find isc_arg_sql_state (if
> any) and I read the string.
> That works fine for server. For embedded the isc_arg_sql_state is there, but
> the string is null.
> Is that expected behavior of embedded?
No,