db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TomohitoNakayama" <tomon...@basil.ocn.ne.jp>
Subject Re: [jira] Updated: (DERBY-525) getAsciiStreamshould replace non-ASCII characters with 0x3f, '?' to match embedded
Date Thu, 29 Sep 2005 10:50:12 GMT
Hello.

I took no special comment as no problem.
Now, I will commit this patch .

Best regards.

/*

         Tomohito Nakayama
         tomonaka@basil.ocn.ne.jp
         tomohito@rose.zero.ad.jp
         tmnk@apache.org

         Naka
         http://www5.ocn.ne.jp/~tomohito/TopPage.html

*/
----- Original Message ----- 
From: "Tomohito Nakayama (JIRA)" <derby-dev@db.apache.org>
To: <tomonaka@basil.ocn.ne.jp>
Sent: Monday, September 26, 2005 12:07 AM
Subject: [jira] Updated: (DERBY-525) getAsciiStreamshould replace non-ASCII characters with
0x3f, '?' to match embedded


>     [ http://issues.apache.org/jira/browse/DERBY-525?page=all ]
>
> Tomohito Nakayama updated DERBY-525:
> ------------------------------------
>
>    Attachment: DERBY-525.patch
>                DERBY-525.site.patch
>                derbyall_report.txt
>
> DERBY-525.patch :
> Description of patches :
> 1: modify processing of converting String to byte[] in org.apache.derby.client.am.ResultSet#getAsciiStream(int)
>
> Test :
> Executed derby all and found an error in runtimeinfo .
> I read that this error happens because processing of each thread in runtimeinfo finshed
not in the same sequence of  starting the 
> thread .
> I attach derbyall_report.txt to this issue also.
>
>
> DERBY-525.site.patch :
> Description of patch :
> Modify paper on the derby site , according to http://article.gmane.org/gmane.comp.apache.db.derby.devel/8378.
>
> Test :
> I executed "forrest run" and browse the page at http://localhost:8888/papers/JDBCImplementation.html
.
>
>
>> getAsciiStreamshould replace non-ASCII characters with 0x3f, '?'  to match embedded
>> -----------------------------------------------------------------------------------
>>
>>          Key: DERBY-525
>>          URL: http://issues.apache.org/jira/browse/DERBY-525
>>      Project: Derby
>>         Type: Bug
>>   Components: Network Client
>>     Versions: 10.1.2.0, 10.1.1.0, 10.2.0.0
>>     Reporter: Kathey Marsden
>>     Assignee: Tomohito Nakayama
>>  Attachments: DERBY-525.patch, DERBY-525.site.patch, derbyall_report.txt
>>
>> When calling Clob.getAsciiStream or ResultSet.getAsciiStream if
>> the column type is a character type or a CLOB, then any out of
>> range character (to the ASCII set) needs to be replaced by 0x3f
>> ('?', question mark). ASCII is defined as 8 bit characters,
>> thus Unicode Characters in the range 0x0000 to 0x00ff are
>> mapped to ASCII characters 0x00 to 0xff, and Unicode characters
>> in the range 0x0100 to 0xffff are mapped to 0x3f
>> By code inspection:
>> client code in
>> org.apache.derby.client.am.ResultSet
>> embedded in
>> org.apache.derby.impl.jdbc.ReaderToAscii
>
> -- 
> 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
>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 2005/09/23
>
> 



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.8/114 - Release Date: 2005/09/28


Mime
View raw message