Description
In Blob.setBytesX(), when a nonpositive length value (len) is passed in, a SqlException with ClientMessageId of SQLState.BLOB_NONPOSITIVE_LENGTH is created, however, it uses length, a wrong length value, which is still zero here.
if ( len < 0 )
{ throw new SqlException(agent_.logWriter_, new ClientMessageId(SQLState.BLOB_NONPOSITIVE_LENGTH), new Integer(length)); }Attachments
Attachments
Issue Links
- is part of
-
DERBY-4609 Derby Test and Fix GSOC 2010 project
- Closed