Re: [Firebird-devel] IBlob::getSegment() and the last segment

2020-04-29 Thread Dimitry Sibiryakov
29.04.2020 19:11, Alex Peshkoff via Firebird-devel wrote: On my mind they both assume a) Yes. You are right. Sorry. -- WBR, SD. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

Re: [Firebird-devel] IBlob::getSegment() and the last segment

2020-04-29 Thread Alex Peshkoff via Firebird-devel
On 2020-04-29 20:11, Alex Peshkoff via Firebird-devel wrote: On 2020-04-29 18:09, Dmitry Sibiryakov wrote: Hello, All.   What should be the behavior of getSegment() reading the last segment of the BLOB? a) Return some data of non-zero length and return RESULT_OK, next call shall return zero

Re: [Firebird-devel] IBlob::getSegment() and the last segment

2020-04-29 Thread Alex Peshkoff via Firebird-devel
On 2020-04-29 18:09, Dmitry Sibiryakov wrote: Hello, All.   What should be the behavior of getSegment() reading the last segment of the BLOB? a) Return some data of non-zero length and return RESULT_OK, next call shall return zero length data and RESULT_NO_DATA; b) Return some data of non-z

[Firebird-devel] IBlob::getSegment() and the last segment

2020-04-29 Thread Dmitry Sibiryakov
Hello, All. What should be the behavior of getSegment() reading the last segment of the BLOB? a) Return some data of non-zero length and return RESULT_OK, next call shall return zero length data and RESULT_NO_DATA; b) Return some data of non-zero length and return RESULT_NO_DATA. In ex