On 08/05/14 12:43, Dimitry Sibiryakov wrote:
> 05.08.2014 8:55, Alex Peshkoff wrote:
>> If release sets refcounter to 0 it will be the same as calling
>> IBlob::cancel() except all errors are ignored.
>     What does IBlob::cancel() for BLOBs opened for reading?

Obviously same what isc_cancel_blob did. May be it was not explicitly 
documented but be sure - nothing bad.

>     BTW, there is a comment in examples:
>
>>      // to be reviewed after A1 - need better segment/eof handling
>>      if (st->get()[1] != isc_segment)
>>      check(st, "getSegment");
>     Still no better way to check for real errors?
>

Yes. isc_segment is not error condition, it's completion condition. Is 
should not go to errors status vector.
We should do something better here.


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to