db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Morken (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1245) Add o.a.derby.client.am.ClobWriter test coverage
Date Sat, 22 Apr 2006 22:30:08 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1245?page=all ]

Anders Morken updated DERBY-1245:
---------------------------------

    Attachment: DERBY-1245-collateraldamage-v1.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'.)

This patch should go in along with the other DERBY-1245 patch if we want tests to pass.  =)

> Add o.a.derby.client.am.ClobWriter test coverage
> ------------------------------------------------
>
>          Key: DERBY-1245
>          URL: http://issues.apache.org/jira/browse/DERBY-1245
>      Project: Derby
>         Type: Sub-task

>   Components: Test, Network Client
>     Reporter: Anders Morken
>     Assignee: Anders Morken
>     Priority: Minor
>      Fix For: 10.2.0.0
>  Attachments: DERBY-1245-collateraldamage-v1.patch, DERBY-1245-lobStream-v1.patch
>
> org.apache.derby.client.am.ClobWriter.java is currently not covered by functional tests.
I'll patch something up in jdbcapi/lobStreams.java and stick a diff here when it works. =)

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


Mime
View raw message