28.04.2022 14:31, Mark Rotteveel wrote:

I notice that if I get the INF_RECORD_COUNT with op_info_cursor before the first fetch, I will get the record count, but the subsequent fetch will fail with a Dynamic SQL Error; SQLDA error; Data type unknown; at SQLVAR index 0 [SQLState:07002, ISC error code:335544583].

If I get the record count after the first fetch, everything is OK.

This seems to indicate that retrieving the record count somehow sets an empty SQLDA or something like that, and ignores the one from the first fetch.

Is this a bug? Should retrieving cursor info before the first fetch be disallowed by the server? Or maybe something else?

This is likely to be a bug, I will take a look.


Dmitry



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

Reply via email to