Re: [Firebird-devel] Build and install with a Raspberry Pi 4B

2021-12-08 Thread Gabor Boros
2021.12.08. 17:55 keltezéssel, Alex Peshkoff via Firebird-devel írta: Yep, we need something more generic here. Can you prepare PR? No, sorry. I don't know how, but the bigger problem is I don't know the good solution. Gabor Firebird-Devel mailing list, web interface at

Re: [Firebird-devel] Build and install with a Raspberry Pi 4B

2021-12-08 Thread Alex Peshkoff via Firebird-devel
On 12/8/21 18:06, Gabor Boros wrote: 2021.12.08. 14:23 keltezéssel, Gabor Boros írta: dirname: hiányzó operandus További információkért adja ki a(z) „dirname --help” parancsot. One problem what I found, the below commit not care about aarch64. Alex? :-) Yep, we need something more generic

Re: [Firebird-devel] Build and install with a Raspberry Pi 4B

2021-12-08 Thread Gabor Boros
2021.12.08. 14:23 keltezéssel, Gabor Boros írta: dirname: hiányzó operandus További információkért adja ki a(z) „dirname --help” parancsot. One problem what I found, the below commit not care about aarch64. Alex? :-)

[Firebird-devel] Build and install with a Raspberry Pi 4B

2021-12-08 Thread Gabor Boros
Hi All, I try to build and install from the master branch with the 64bit version of the official OS (2021-10-30-raspios-bullseye-arm64). ./autogen.sh --prefix=/opt/firebird make After in the gen directory make -f Makefile.install tarfile Then try to install from the extracted tar.gz with

Re: [Firebird-devel] Firebird and DSQL Scrollable Cursors

2021-12-08 Thread Mark Rotteveel
On 2021-12-08 10:13, Dmitry Yemanov wrote: 28.11.2021 14:45, Mark Rotteveel wrote: We don't have anything like this. Theoretically, we could extend IRecordSet with something similar (although it would also require a protocol change), but the question is whether it's really needed.

Re: [Firebird-devel] Firebird and DSQL Scrollable Cursors

2021-12-08 Thread Dmitry Yemanov
08.12.2021 13:49, Dimitry Sibiryakov wrote: Storing of fetched rows is unavoidable indeed but prefetch?.. Is it done in background or before returning of the first row to client even in embedded mode? The latter. But prefetch is done in small chunks, usually it does not hurt. Dmitry

Re: [Firebird-devel] Firebird and DSQL Scrollable Cursors

2021-12-08 Thread Dimitry Sibiryakov
Dmitry Yemanov wrote 08.12.2021 10:54: For scrollable cursors, rows are prefetched and cached by the engine and thus the count can be easily returned. It has its cost, but generally it's unavoidable anyway for scrollable cursors. Storing of fetched rows is unavoidable indeed but prefetch?..

Re: [Firebird-devel] Firebird and DSQL Scrollable Cursors

2021-12-08 Thread Dmitry Yemanov
08.12.2021 12:37, Tony Whyman wrote: It would also be very useful to get rowcount returned for unidirectional cursors if that was readily possible. At present, it is only possible to get an accurate count of the number of rows in a cursor after you have fetched all of them. It cannot be

Re: [Firebird-devel] Firebird and DSQL Scrollable Cursors

2021-12-08 Thread Tony Whyman
On 08/12/2021 09:13, Dmitry Yemanov wrote: 3) "row count" makes it possible to know the position after fetchLast() and everything else could be calculated locally by the client library, thus making the server-supported "current position" totally unnecessary. Do I miss anything? Could we

Re: [Firebird-devel] Firebird and DSQL Scrollable Cursors

2021-12-08 Thread Dmitry Yemanov
28.11.2021 14:45, Mark Rotteveel wrote: We don't have anything like this. Theoretically, we could extend IRecordSet with something similar (although it would also require a protocol change), but the question is whether it's really needed. Personally, I don't see it useful per se. If users

Re: [Firebird-devel] op_crypt_key_callback during op_connect

2021-12-08 Thread Jiří Činčura
> Enable AllowEncryptedSecurityDatabase in firebird.conf (on server side). Thanks. I realized I forgot about that few minutes ago. :) -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel mailing list, web interface at

Re: [Firebird-devel] op_crypt_key_callback during op_connect

2021-12-08 Thread Alex Peshkoff via Firebird-devel
On 12/7/21 17:52, Jiří Činčura wrote: Hi, How can I get op_crypt_key_callback during op_connect to test P15 (as I see in protocol.h (https://github.com/FirebirdSQL/firebird/blob/master/src/remote/protocol.h#L86))? My hope was that encrypting security database would do the trick, but even in