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)?

  I think - yes.

Regards,
Vlad


PS From API Guide:

---
isc_create_blob2()
Creates and opens the Blob for *write* access

...

isc_get_segment()
reads a Blob segment from a previously *opened* Blob.
---

I.e. created blob should not be accessible for read.


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

Reply via email to