14.12.2019 15:43, Mark Rotteveel wrote:
I'm implementing timeout support in Jaybird, but ran into a problem with the native implementation. Calling fb_dsql_set_timeout (old API) doesn't seem to have any effect: the executed statement had no timeout applied.

Before I spend too much time verifying things in Jaybird: is this expected to work,

  Yes, it should work

or are there obvious states of the client that will prevent the timeout to be set?

  Wrong statement handle, unprepared statement.

  Also, there is check for remote protocol version, it should be 
PROTOCOL_VERSION16
at least. If protocol verision is less than PROTOCOL_VERSION16, error 
isc_wish_list
is reported via status-vector.

I called fb_dsql_set_timeout after a prepare and before isc_dsql_execute.

  This is correct

Regards,
Vlad


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

Reply via email to