Details
Description
If getBinaryStream is reading a value (READ_UNCOMMITTED) and the row is deleted by another connection, a truncated value will be returned without error. I believe instead either the whole value or an IOException should occur.
With 10.2 and higher with the repro attahed we get:
> java TruncatedBlob
Embedded:
Read 32669 bytes
0 rows in BLOBCLOB
With 10.1
Embedded:
Read 40000 bytes (OK)
0 rows in BLOBCLOB
Note network server returns the full value for both 10.1 and 10.2 but gives a lock timeout for 10.2+. I will file a separate issue for that.
Attachments
Attachments
Issue Links
- is part of
-
DERBY-2034 Tracking of bugs that lead to incorrect results being stored or returned to the client
- Closed
- is required by
-
DERBY-4728 10.5 backport effort tracking issue
- Closed