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

Anders Morken updated DERBY-1354:
---------------------------------

    Attachment: DERBY-1354.patch

DERBY-1354.patch merges the changes from DERBY-1245 on the trunk to the 10.1 
branch.
derbynetclientmats (which includes the modified lobStreams test) passes modulo 
Norwegian locale noise.

> Writer.write(int c) to writer from Clob.setCharacterStream(long pos) appends 
> integer value, not character
> ---------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-1354
>          URL: http://issues.apache.org/jira/browse/DERBY-1354
>      Project: Derby
>         Type: Bug

>   Components: JDBC, Network Client
>     Versions: 10.2.0.0, 10.1.2.0, 10.1.2.1, 10.1.3.0, 10.1.2.2, 10.1.2.3, 
> 10.1.2.4
>     Reporter: Anders Morken
>     Assignee: Anders Morken
>     Priority: Minor
>      Fix For: 10.2.0.0, 10.1.3.0
>  Attachments: DERBY-1354.patch
>
> DERBY-1245-collateraldamage-v1.patch fixes a little bug in 
> o.a.d.client.am.ClobWriter.java's write(int c) method.
> In it's original implementation the int parameter was passed directly to the 
> StringBuffer.append() method, resulting 
> in the int being converted to it's string representation and then appended. 
> (i.e. passing the char 'a' to write(int c) 
> would append the string "97" to the StringBuffer and thus the Clob. 97 is the 
> ASCII code for the character 'a'.) 
> Please note that the patch is attached to DERBY-1245, as that was the Jira 
> issue I was working on when I discovered
>  this. This issue is a placeholder of sorts. =)

-- 
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