[Firebird-devel] SQLSTATE difference between server and embedded

2015-08-18 Thread Jiří Činčura
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 embedded? Just to make sure there isn't a hidden bug

Re: [Firebird-devel] Debug build is broken?

2015-08-18 Thread Alex Peshkoff
On 08/18/2015 01:12 PM, Dimitry Sibiryakov wrote: Hello, All. Am I alone who is getting errors internal Firebird consistency check (Internal error code (165), file: tra.cpp line: 2235) and Could not find acceptable ICU library during attempt to do clean debug build from today's

Re: [Firebird-devel] Debug build is broken on Windows?

2015-08-18 Thread Dimitry Sibiryakov
18.08.2015 13:41, Alex Peshkoff wrote: Am I alone who is getting errors internal Firebird consistency check (Internal error code (165), file: tra.cpp line: 2235) and Could not find acceptable ICU library during attempt to do clean debug build from today's sources? Build works for

Re: [Firebird-devel] SQLSTATE difference between server and embedded

2015-08-18 Thread Mark Rotteveel
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 embedded?

Re: [Firebird-devel] SQLSTATE difference between server and embedded

2015-08-18 Thread Mark Rotteveel
Are both cases using the native access? Or is one using the wire protocol? Mark - Reply message - Van: Jiří Činčura j...@cincura.net Aan: For discussion among Firebird Developers firebird-devel@lists.sourceforge.net Onderwerp: [Firebird-devel] SQLSTATE difference between server and

Re: [Firebird-devel] SQLSTATE difference between server and embedded

2015-08-18 Thread Геннадий Забула
in descrived case expected string is 42000 On 18 August 2015 at 19:41, Dmitry Yemanov firebi...@yandex.ru 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.

[Firebird-devel] Debug build is broken?

2015-08-18 Thread Dimitry Sibiryakov
Hello, All. Am I alone who is getting errors internal Firebird consistency check (Internal error code (165), file: tra.cpp line: 2235) and Could not find acceptable ICU library during attempt to do clean debug build from today's sources? -- WBR, SD.

Re: [Firebird-devel] Debug build is broken on Windows?

2015-08-18 Thread Dimitry Sibiryakov
18.08.2015 13:43, Dimitry Sibiryakov wrote: 18.08.2015 13:41, Alex Peshkoff wrote: Am I alone who is getting errors internal Firebird consistency check (Internal error code (165), file: tra.cpp line: 2235) and Could not find acceptable ICU library during attempt to do clean debug

[Firebird-devel] [FB-Tracker] Created: (CORE-4911) Providers enumeration should not be continued on most of errors taking place in the provider

2015-08-18 Thread Alexander Peshkov (JIRA)
Providers enumeration should not be continued on most of errors taking place in the provider Key: CORE-4911 URL: http://tracker.firebirdsql.org/browse/CORE-4911

Re: [Firebird-devel] SQLSTATE difference between server and embedded

2015-08-18 Thread Dmitry Yemanov
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, it's

Re: [Firebird-devel] SQLSTATE difference between server and embedded

2015-08-18 Thread Геннадий Забула
fb_sqlstate() returns expected string. On 18 August 2015 at 17:30, Dmitry Yemanov firebi...@yandex.ru 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

Re: [Firebird-devel] SQLSTATE difference between server and embedded

2015-08-18 Thread Dmitry Yemanov
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