Re: [Firebird-devel] Add scroll fetch support in legacy API?

2022-06-04 Thread Mark Rotteveel

On 04-06-2022 15:17, Dmitry Yemanov wrote:

04.06.2022 15:07, Mark Rotteveel wrote:

Currently scroll fetch is only exposed in the OO API. Any plans for 
exposing it in the legacy API 


Nope, we have an agreement to not extending the legacy API with new 
features.


Ok, too bad.


(e.g. isc_dsql_fetch_scroll / fb_dsql_fetch_scroll)?


That's not enough, some method is also needed to mark the cursor as 
scrollable before opening. The new cursor's getInfo() should also be 
duplicated. And maybe isBof/isEof too.


Ah, right. Though isBof/isEof is technically not necessary. You can 
infer that from the status return value and the last fetch direction 
(fetching relative 0 when before-first requires some of your own 
bookkeeping though)


Mark
--
Mark Rotteveel


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Add scroll fetch support in legacy API?

2022-06-04 Thread Dmitry Yemanov

04.06.2022 15:07, Mark Rotteveel wrote:

Currently scroll fetch is only exposed in the OO API. Any plans for 
exposing it in the legacy API 


Nope, we have an agreement to not extending the legacy API with new 
features.



(e.g. isc_dsql_fetch_scroll / fb_dsql_fetch_scroll)?


That's not enough, some method is also needed to mark the cursor as 
scrollable before opening. The new cursor's getInfo() should also be 
duplicated. And maybe isBof/isEof too.



Dmitry


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] Add scroll fetch support in legacy API?

2022-06-04 Thread Mark Rotteveel
Currently scroll fetch is only exposed in the OO API. Any plans for 
exposing it in the legacy API (e.g. isc_dsql_fetch_scroll / 
fb_dsql_fetch_scroll)?


Mark
--
Mark Rotteveel


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel