[Firebird-devel] Reading from a just created BLOB

2019-12-16 Thread Adriano dos Santos Fernandes
Hi! Using internal (BLB_*) or external API, looks like garbage is read when one creates a blob and tries to read from it (using the same handle, before it's closed). Should this return an error (writing from an opened existing BLOB does)? Adriano Firebird-Devel mailing list, web interface at

Re: [Firebird-devel] Reading from a just created BLOB

2019-12-16 Thread Dimitry Sibiryakov
16.12.2019 18:03, Adriano dos Santos Fernandes wrote: Using internal (BLB_*) or external API, looks like garbage is read when one creates a blob and tries to read from it (using the same handle, before it's closed). Should this return an error (writing from an opened existing BLOB does)? htt

Re: [Firebird-devel] Reading from a just created BLOB

2019-12-17 Thread Adriano dos Santos Fernandes
On 16/12/2019 14:08, Dimitry Sibiryakov wrote: > 16.12.2019 18:03, Adriano dos Santos Fernandes wrote: >> Using internal (BLB_*) or external API, looks like garbage is read when >> one creates a blob and tries to read from it (using the same handle, >> before it's closed). >> >> Should this return

Re: [Firebird-devel] Reading from a just created BLOB

2019-12-17 Thread Vlad Khorsun
16.12.2019 19:03, Adriano dos Santos Fernandes wrote: Hi! Using internal (BLB_*) or external API, looks like garbage is read when one creates a blob and tries to read from it (using the same handle, before it's closed). Should this return an error (writing from an opened existing BLOB does)?

Re: [Firebird-devel] Reading from a just created BLOB

2019-12-17 Thread Dimitry Sibiryakov
17.12.2019 12:11, Adriano dos Santos Fernandes wrote: So you suggest that put respect seek position (overwriting data already written) or that it always append data? I have no opinion about put. I guess overwriting of data is troublesome. -- WBR, SD. Firebird-Devel mailing list, web int

Re: [Firebird-devel] Reading from a just created BLOB

2019-12-17 Thread Adriano dos Santos Fernandes
On 17/12/2019 08:29, Vlad Khorsun wrote: > 16.12.2019 19:03, Adriano dos Santos Fernandes wrote: >> Hi! >> >> Using internal (BLB_*) or external API, looks like garbage is read when >> one creates a blob and tries to read from it (using the same handle, >> before it's closed). >> >> Should this ret

Re: [Firebird-devel] Reading from a just created BLOB

2019-12-17 Thread Vlad Khorsun
16.12.2019 19:08, Dimitry Sibiryakov wrote: 16.12.2019 18:03, Adriano dos Santos Fernandes wrote: Using internal (BLB_*) or external API, looks like garbage is read when one creates a blob and tries to read from it (using the same handle, before it's closed). Should this return an error (writin

Re: [Firebird-devel] Reading from a just created BLOB

2019-12-17 Thread Mark Rotteveel
On 2019-12-16 18:03, Adriano dos Santos Fernandes wrote: Hi! Using internal (BLB_*) or external API, looks like garbage is read when one creates a blob and tries to read from it (using the same handle, before it's closed). Is it really garbage, or is it reading some random memory or data from