[Firebird-devel] [FB-Tracker] Created: (CORE-4497) Regression in 3.0.x: wrong handling in FOR-cursor when NOT EXISTS( select from ) statement is used to check results obtained from SP

2014-07-23 Thread Pavel Zotov (JIRA)
Regression in 3.0.x: wrong handling in FOR-cursor when NOT EXISTS( select from ) statement is used to check results obtained from SP - Ke

[Firebird-devel] setCursorName in IResultSet rather than IStatement

2014-07-23 Thread Adriano dos Santos Fernandes
Hi! After I reported an TCS fail to Alex in January, he moved this method from IStatement to IResultSet. But I fail to understand. Not talking about implementation detail, but about interface. IMO makes no sense to first open the cursor and then name it later. We can have two prepared statement

Re: [Firebird-devel] Forming IStatus code-by-code

2014-07-23 Thread Alex Peshkoff
On 07/23/14 15:36, Dimitry Sibiryakov wrote: > Hi, All. > > Don't you think that IStatus interface is missing a method for forming > error > code-by-code? Definition of this method could be like this: > > IStatus::add(ISC_STATUS gds_code, ...); > > Usage would be like this: > > status-

[Firebird-devel] Error text

2014-07-23 Thread Dimitry Sibiryakov
Hi, All. In win32\os_utils.cpp:openCreateSharedFile() i see following code: (Firebird::Arg::Gds(isc_io_error) << "open" << pathname << Firebird::Arg::Gds(isc_io_open_err) << strerror(errno)).raise(); But isc_io_open_err has no parameter's placeholder, so error text won't be displayed.

[Firebird-devel] Forming IStatus code-by-code

2014-07-23 Thread Dimitry Sibiryakov
Hi, All. Don't you think that IStatus interface is missing a method for forming error code-by-code? Definition of this method could be like this: IStatus::add(ISC_STATUS gds_code, ...); Usage would be like this: status->add(isc_sql_dialect_datatype_unsupport, Arg::IntParam, 1, Arg::S

Re: [Firebird-devel] Firebird 3 - Gsec error with snapshot build

2014-07-23 Thread Gabor Boros
2014.07.23. 10:25 keltezéssel, Alex Peshkoff írta: > gsec -user SYSDBA -pas anytext -add SYSDBA -pw masterkey Denis, Alex, This easy and working. Thank You! Gabor -- Want fast and easy access to all the code in your en

Re: [Firebird-devel] Firebird 3 - Gsec error with snapshot build

2014-07-23 Thread Alex Peshkoff
On 07/23/14 12:03, Gabor Boros wrote: > Hi, > > If I want to initialize security database "gsec -add SYSDBA -pw > masterkey" on Win32 got error with snapshot from today 31247. With > earlier used 31159 works like a charm. > > "An error occurred while attempting to add the user. > unsuccessful metad

Re: [Firebird-devel] Firebird 3 - Gsec error with snapshot build

2014-07-23 Thread Simonov Denis
Gabor Boros wrote Wed, 23 Jul 2014 12:03:37 +0400: > Hi, > > If I want to initialize security database "gsec -add SYSDBA -pw > masterkey" on Win32 got error with snapshot from today 31247. With > earlier used 31159 works like a charm. > > "An error occurred while attempting to add the user. > uns

[Firebird-devel] Firebird 3 - Gsec error with snapshot build

2014-07-23 Thread Gabor Boros
Hi, If I want to initialize security database "gsec -add SYSDBA -pw masterkey" on Win32 got error with snapshot from today 31247. With earlier used 31159 works like a charm. "An error occurred while attempting to add the user. unsuccessful metadata update CREATE TABLE PLG$SRP failed There is no