13.10.2014 19:23, Adriano dos Santos Fernandes wrote:
>
> Please look at test staticMessage2 at
> https://github.com/asfernandes/fbstuff/blob/master/src/test/v3api/StaticMessageTest.cpp
>
> The second openCursor tries to pass NULL to a not-NULL parameter.
>
> With embedded, the test works.
>
> With remote, openCursor returns a ResultSet and the exception happens
> only after a fetch.

AFAIU, this is due to the "lazy port" protocol optimization, i.e. 
op_execute is deferred and sent together with the first op-fetch. So any 
error happening during isc_dsql_execute is returned only after calling 
isc_dsql_fetch. This is more or less "as designed" / expected side effect.


Dmitry


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to