Re: [Firebird-devel] Transaction id size in Firebird 3

2016-06-17 Thread Dmitry Yemanov
17.06.2016 21:23, Mark Rotteveel wrote: > > Does this BigIntSpb also work with a v2 SPB, or do I need to change it > to a v3 SPB (code suggests v2 will work, but confirmation would be nice)? It works. > Is there an easy trick to get Firebird to produce a 33 bit or longer > transaction id without

Re: [Firebird-devel] Transaction id size in Firebird 3

2016-06-17 Thread Leyne, Sean
> Is there an easy trick to get Firebird to produce a 33 bit or longer > transaction > id without having to commit 32^2 + 1 transactions so I can check if my > implementation will work with FB 3.0.1? Hack the header of an existing database file with a Hex editor? Sean ---

Re: [Firebird-devel] Transaction id size in Firebird 3

2016-06-17 Thread Mark Rotteveel
On 2-5-2016 08:40, Dmitry Yemanov wrote: > 01.05.2016 13:01, Mark Rotteveel wrote: >> >>> But it seems that these inputs tags were forgotten re. their longer >>> counterparts: isc_spb_rpr_commit_trans, isc_spb_rpr_rollback_trans, >>> isc_spb_rpr_recover_two_phase. Please file a ticket. >> >> Done:

Re: [Firebird-devel] Problem with Firebird 2.1 embedded and libncurses6 (Linux)

2016-06-17 Thread Ismael L. Donis Garcia
You can solve it with: cd /usr/lib ln -sf libncursesw.so.6.0 libncurses.so.5 I have tried it in Manjaro Best Regards | ISMAEL | - Original Message - From: "Fulvio Senore" To: "For discussion among Firebird Developers" Sent: Friday, June 17, 2016 9:12 AM Subject: [F

Re: [Firebird-devel] Test bugs.core_3554 randomly fails

2016-06-17 Thread Dimitry Sibiryakov
17.06.2016 17:58, Dmitry Yemanov wrote: > Or perhaps do such a check in the remote client, or even better in the > Y-valve? In this case the test will fail always. -- WBR, SD. -- What NetFlow Analyzer can do for

Re: [Firebird-devel] Test bugs.core_3554 randomly fails

2016-06-17 Thread Dmitry Yemanov
17.06.2016 17:13, Dimitry Sibiryakov wrote: > > As most of you know, when routine protocol.cpp:alloc_cstring() receives zero > length, it > behaves differently, depending on previous allocations. In some cases it > returns pointer > to zero-length string, in some - NULL pointer. > Because of this

Re: [Firebird-devel] Wire compression

2016-06-17 Thread Alex Peshkoff
On 06/17/2016 11:54 AM, Jiří Činčura wrote: > Hi, > >> Yes. May be the only detail is that zlib may compress data in slightly >> different ways. In our case data compressed not as a set of packets - >> the stream is compressed as a whole with flashes in the end of each >> packet. > Can i turn on so

Re: [Firebird-devel] Problem with Firebird 2.1 embedded and libncurses 6 (Linux)

2016-06-17 Thread Alex Peshkoff
On 06/17/2016 04:12 PM, Fulvio Senore wrote: > I have developed a couple of open source programs that use Firebird as > an embedded database. The programs are some years old so they use > version 2.1. > > I am using an embedded setup under Linux with a copy of Firebird that I > compiled at the time

[Firebird-devel] Test bugs.core_3554 randomly fails

2016-06-17 Thread Dimitry Sibiryakov
Hello, all. As most of you know, when routine protocol.cpp:alloc_cstring() receives zero length, it behaves differently, depending on previous allocations. In some cases it returns pointer to zero-length string, in some - NULL pointer. Because of this, used in subj test query "EXECUTE

[Firebird-devel] Problem with Firebird 2.1 embedded and libncurses 6 (Linux)

2016-06-17 Thread Fulvio Senore
I have developed a couple of open source programs that use Firebird as an embedded database. The programs are some years old so they use version 2.1. I am using an embedded setup under Linux with a copy of Firebird that I compiled at the time and everything worked fine until now. I compiled in

[Firebird-devel] [FB-Tracker] Created: (CORE-5284) Firebird fails to build with USE_VALGRIND

2016-06-17 Thread Paul Reeves (JIRA)
Firebird fails to build with USE_VALGRIND - Key: CORE-5284 URL: http://tracker.firebirdsql.org/browse/CORE-5284 Project: Firebird Core Issue Type: Bug Components: Build Issues / Porting A

Re: [Firebird-devel] building FB3 for valgrind

2016-06-17 Thread Alex Peshkoff
On 06/17/2016 10:25 AM, Paul Reeves wrote: > I tried to build FB3 for valgrind yesterday, without any success. > > AFAICT, all that is needed is to declare DEV_FLAGS with -DUSE_VALGRIND > and then run make Debug. > > The first build problem arrives with DELAYED_EXTENT_COUNT being used in > anonymou

Re: [Firebird-devel] gsec not working in master and 3.0 branch

2016-06-17 Thread Adriano dos Santos Fernandes
On 17/06/2016 05:00, Dimitry Sibiryakov wrote: > 17.06.2016 3:08, Adriano dos Santos Fernandes wrote: >> Same way I used to run it in just built sources, not it raises error: >> >> asfernandes@cheetah:/media/home/asfernandes-ubuntu/fb/dev/firebird-master.git$ >> gsec >> use gsec -? to get help >> Y

Re: [Firebird-devel] GPRE, new API and static pointers

2016-06-17 Thread Dimitry Sibiryakov
17.06.2016 11:05, Dimitry Sibiryakov wrote: >What I've missed this time? Unfortunately, nothing: master branch crashes as well. Pull request with fix created. -- WBR, SD. -- What NetFlow Analyzer can do for y

Re: [Firebird-devel] GPRE, new API and static pointers

2016-06-17 Thread Dimitry Sibiryakov
16.06.2016 18:50, Alex Peshkoff wrote: > This is reference counted object, and it will not be actually deleted as > long as I've found that YRequest doesn't increment reference counter of YAttachment it is linked to. As the result, after disconnect, the pointer become invalid and next call o

Re: [Firebird-devel] Wire compression

2016-06-17 Thread Jiří Činčura
Hi, > Yes. May be the only detail is that zlib may compress data in slightly > different ways. In our case data compressed not as a set of packets - > the stream is compressed as a whole with flashes in the end of each > packet. Can i turn on some flag on Firebird to see whether it's happy with

Re: [Firebird-devel] gsec not working in master and 3.0 branch

2016-06-17 Thread Dimitry Sibiryakov
17.06.2016 3:08, Adriano dos Santos Fernandes wrote: > Same way I used to run it in just built sources, not it raises error: > > asfernandes@cheetah:/media/home/asfernandes-ubuntu/fb/dev/firebird-master.git$ > gsec > use gsec -? to get help > Your user name and password are not defined. Ask your da

[Firebird-devel] building FB3 for valgrind

2016-06-17 Thread Paul Reeves
I tried to build FB3 for valgrind yesterday, without any success. AFAICT, all that is needed is to declare DEV_FLAGS with -DUSE_VALGRIND and then run make Debug. The first build problem arrives with DELAYED_EXTENT_COUNT being used in anonymous namespace, before it has been defined. That was easy