db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anurag Shekhar (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2450) Clob.Position returning wrong value when operating on Reader
Date Wed, 14 Mar 2007 13:43:09 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anurag Shekhar updated DERBY-2450:
----------------------------------

    Attachment: PositionTest.java

Clob.Position method, when its searching pattern over a stream, returns a wrong value. I found
this bug while working on DERBY-2346. I am not able to reproduce the exact behavior with existing
clob implementation. To reproduce the problem in the method I have extracted the position
method in a stand alone class and running it against a InputStreamReader. When I do that the
value I get differs from what I get from (String.indexOf (pattern) + 1).

all the methods I have used in the test class are from BlobClob4BlobTest

> Clob.Position returning wrong value when operating on Reader
> ------------------------------------------------------------
>
>                 Key: DERBY-2450
>                 URL: https://issues.apache.org/jira/browse/DERBY-2450
>             Project: Derby
>          Issue Type: Bug
>         Environment: all
>            Reporter: Anurag Shekhar
>         Attachments: PositionTest.java
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message