[Firebird-devel] In Iblob::getSegment is segmentLength allowed to be NULL pointer

2020-05-26 Thread Dimitry Sibiryakov
Hello, All. Can be IBlob::getSegment() called with NULL in segmentLength or it is not allowed? -- WBR, SD. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

[Firebird-devel] NBACKUP locks db file on error (FB4)

2020-05-26 Thread Ivan Přenosil
When I give wrong backup file to NBACKUP.exe -INPLACE, error is reported as expected: NBACKUP -inplace -restore localhost/:Z:\export\TESTF2.FDB Z:\export\x05G.nbk Invalid incremental backup file: Z:\export\x05G.nbk NBACKUP -inplace -restore localhost/:Z:\export\TESTF2.FDB

Re: [Firebird-devel] Page size 32K in FB4

2020-05-26 Thread Stefan Heymann
> Not reproduced on linux: > # ./isql -z > ISQL Version: LI-T4.0.0.1976 Firebird 4.0 Beta 2 > Use CONNECT or CREATE DATABASE to specify a database > SQL> CREATE DATABASE 'test32.fdb' PAGE_SIZE 32768; > SQL> show db; > Database: test32.fdb >     Owner: SYSDBA > PAGE_SIZE 32768 Emil also used

Re: [Firebird-devel] NBACKUP locks db file on error (FB4)

2020-05-26 Thread Vlad Khorsun
26.05.2020 18:11, Ivan Přenosil wrote: When I give wrong backup file to NBACKUP.exe -INPLACE, error is reported as expected: NBACKUP -inplace -restore localhost/:Z:\export\TESTF2.FDB Z:\export\x05G.nbk Invalid incremental backup file: Z:\export\x05G.nbk NBACKUP -inplace -restore

Re: [Firebird-devel] NBACKUP locks db file on error (FB4)

2020-05-26 Thread Alex Peshkoff via Firebird-devel
On 2020-05-26 18:11, Ivan Přenosil wrote: When I give wrong backup file to NBACKUP.exe -INPLACE, error is reported as expected: NBACKUP -inplace -restore localhost/:Z:\export\TESTF2.FDB Z:\export\x05G.nbk Invalid incremental backup file: Z:\export\x05G.nbk NBACKUP -inplace -restore

[Firebird-devel] [FB-Tracker] Created: (CORE-6317) Server is crashing on long GRANT statement

2020-05-26 Thread Viktor Belzetskiy (JIRA)
Server is crashing on long GRANT statement -- Key: CORE-6317 URL: http://tracker.firebirdsql.org/browse/CORE-6317 Project: Firebird Core Issue Type: Bug Components: Engine Affects

[Firebird-devel] Page size 32K in FB4

2020-05-26 Thread Emil Totev
I am trying to create a database with 32k page - what am I doing wrong? Also, is it OK to accept an invalid value and replace it without even a warning? ISQL Version: WI-T4.0.0.1963 Firebird 4.0 Beta 2 Use CONNECT or CREATE DATABASE to specify a database SQL> CREATE DATABASE

Re: [Firebird-devel] Page size 32K in FB4

2020-05-26 Thread Alex Peshkoff via Firebird-devel
On 2020-05-26 11:11, Mark Rotteveel wrote: This looks like a bug in the statement parser. It seems to use signed 16 bit int for this value, instead of an unsigned 16 bit int (or a signed 32 bit int). This does make me wonder about the test coverage for this feature. Could you create a bug in

Re: [Firebird-devel] Page size 32K in FB4

2020-05-26 Thread Mark Rotteveel
This looks like a bug in the statement parser. It seems to use signed 16 bit int for this value, instead of an unsigned 16 bit int (or a signed 32 bit int). This does make me wonder about the test coverage for this feature. Could you create a bug in the tracker? Mark On 2020-05-26 08:57,

Re: [Firebird-devel] Page size 32K in FB4

2020-05-26 Thread Paul Reeves
On Tue, 26 May 2020 11:18:14 +0300 Alex Peshkoff via Firebird-devel wrote: > On 2020-05-26 11:11, Mark Rotteveel wrote: > > This looks like a bug in the statement parser. It seems to use signed > > > 16 bit int for this value, instead of an unsigned 16 bit int (or a > > > signed 32 bit int).

Re: [Firebird-devel] Page size 32K in FB4

2020-05-26 Thread Alex Peshkoff via Firebird-devel
On 2020-05-26 11:31, Paul Reeves wrote: On Tue, 26 May 2020 11:18:14 +0300 Alex Peshkoff via Firebird-devel wrote: On 2020-05-26 11:11, Mark Rotteveel wrote: This looks like a bug in the statement parser. It seems to use signed > 16 bit int for this value, instead of an unsigned 16 bit int

[Firebird-devel] [FB-Tracker] Created: (CORE-6316) Unable to specify new 32k page size

2020-05-26 Thread Emil Totev (JIRA)
Unable to specify new 32k page size Key: CORE-6316 URL: http://tracker.firebirdsql.org/browse/CORE-6316 Project: Firebird Core Issue Type: Bug Affects Versions: 4.0 Beta 2 Reporter: Emil

Re: [Firebird-devel] include_data switch in FB4 Beta2

2020-05-26 Thread Dimitry Sibiryakov
26.05.2020 23:13, Ivan Přenosil wrote: Any idea what am I doing wrong? It looks like I missed one piece of code when implemented this. I'll fix it tomorrow. -- WBR, SD. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

[Firebird-devel] include_data switch in FB4 Beta2

2020-05-26 Thread Ivan Přenosil
I am testing new include_data switch in FB4 Beta2. Any idea what am I doing wrong? All these commands seem to work, except the last one which raises the exception: GBAK -b -user sysdba -password masterkey localhost/:Z:\xx.FDB Z:\xx.fbk -skip_data abc GBAK -b -user sysdba -password

[Firebird-devel] [FB-Tracker] Created: (CORE-6318) Cast 'NOW' to TIME in FB4

2020-05-26 Thread prenosil (JIRA)
Cast 'NOW' to TIME in FB4 - Key: CORE-6318 URL: http://tracker.firebirdsql.org/browse/CORE-6318 Project: Firebird Core Issue Type: Bug Affects Versions: 4.0 Beta 2 Reporter: prenosil While this

[Firebird-devel] Error message 'Install incomplete' in FB4

2020-05-26 Thread Ivan Přenosil
Not sure where to report this one ... When trying to work with uninitialized security database in FB4 the server will raise error, e.g. SQL> connect 'localhost/:Z:\x.fdb' USER SYSDBA PASSWORD 'masterkey';   Statement failed, SQLSTATE = 28000   Install incomplete, please read the