Re: [Firebird-devel] New getInfo2 API

2021-07-27 Thread Alex Peshkoff via Firebird-devel
On 7/26/21 10:08 PM, Dimitry Sibiryakov wrote: Why not return IXpbBuilder? It already has all needed navigation methods. Yes - and functions to read info data in different formats are also there. Just make getinfo2() return XpbBuilder instead InfoBuffer. Firebird-Devel mailing list, web

Re: [Firebird-devel] New getInfo2 API

2021-07-26 Thread Dimitry Sibiryakov
Why not return IXpbBuilder? It already has all needed navigation methods. -- WBR, SD. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

[Firebird-devel] New getInfo2 API

2021-07-26 Thread Adriano dos Santos Fernandes
Hi! It's a nightmare to work with getInfo API, where client must guess result buffer size of things it can not know. Also, buffers are limited to 64K size - due to old API and internal code. Looks like protocol does not have this restriction currently. But it seems to me that getInfo may be used