Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.2.2.0, 10.3.1.4, 10.4.1.3, 10.5.3.0, 10.6.1.0
-
Component/s: JDBC
-
Labels:None
-
Urgency:Normal
-
Issue & fix info:High Value Fix, Repro attached
-
Bug behavior facts:Regression, Wrong query result
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
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
-