[ http://issues.apache.org/jira/browse/DERBY-856?page=all ]

V.Narayanan updated DERBY-856:
------------------------------

    Attachment: setCharacterStreamInternal_2.diff
                setCharacterStreamInternal_2.stat

Hi Sunitha,
Thanx for the reviews and comments. 
a) I have fixed the comments to indicate that in intLength the length variable 
is being cast to an int and stored. Also I have mentioned that the cast is 
being done because derby currently supports Clob of size 2G-1
b) derbyall runs with failures. But none of them were related to my patch.

I am resubmitting the patch again

thanx
Narayanan

> modify setCharacterStreamInternal to take a long for the length, and perform 
> the > max int check in the method
> --------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-856
>          URL: http://issues.apache.org/jira/browse/DERBY-856
>      Project: Derby
>         Type: Improvement
>   Components: JDBC
>     Versions: 10.2.0.0
>  Environment: All Environments
>     Reporter: V.Narayanan
>     Assignee: V.Narayanan
>     Priority: Minor
>  Attachments: setCharacterStreamInternal.diff, 
> setCharacterStreamInternal.stat, setCharacterStreamInternal_1.diff, 
> setCharacterStreamInternal_2.diff, setCharacterStreamInternal_2.stat
>
> A similar change to setBinaryStreamInternal is being handled as part of 
> DERBY-599. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to