Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
10.4.1.3, 10.5.1.1
-
None
-
Windows XP SP2, Derby trunk SVN checkout
-
Normal
Description
This is related to Cloudscape bug 4250.
Pass negative length as the stream length for various setXXXStream methods should throw an exception. But in Net Client mode, passing a negative value as stream length to PreparedStatement.setAsciiStream() doesn't throw an exception.
e.g. //from store/StreamingColumn
PreparedStatement ps = prepareStatement("insert into "
+ "testLongVarCharInvalidStreamLength11 values(?, ?, ?)");
ps.setInt(1, 100);
try
This issue has been fixed for embedded mode, but not for client mode.
Attachments
Attachments
Issue Links
- is depended upon by
-
DERBY-3663 Convert store/streamingColumn to JUnit
- Closed