Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 83316 invoked from network); 11 Oct 2007 21:41:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Oct 2007 21:41:46 -0000 Received: (qmail 5416 invoked by uid 500); 11 Oct 2007 21:41:32 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 5130 invoked by uid 500); 11 Oct 2007 21:41:31 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 5101 invoked by uid 99); 11 Oct 2007 21:41:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 14:41:31 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 21:41:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 98A8571423B for ; Thu, 11 Oct 2007 14:40:51 -0700 (PDT) Message-ID: <14242728.1192138851622.JavaMail.jira@brutus> Date: Thu, 11 Oct 2007 14:40:51 -0700 (PDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-2890) Simplify handling of maxPos in UpdatableBlobStream and ClobUpdatableReader In-Reply-To: <8090440.1183443724441.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen closed DERBY-2890. ------------------------------------- > Simplify handling of maxPos in UpdatableBlobStream and ClobUpdatableReader > -------------------------------------------------------------------------- > > Key: DERBY-2890 > URL: https://issues.apache.org/jira/browse/DERBY-2890 > Project: Derby > Issue Type: Improvement > Components: JDBC > Affects Versions: 10.3.1.4, 10.4.0.0 > Reporter: Knut Anders Hatlen > Assignee: Knut Anders Hatlen > Priority: Trivial > Fix For: 10.3.1.4, 10.4.0.0 > > Attachments: maxpos.diff, maxpos.stat > > > UpdatableBlobStream and ClobUpdatableReader have a maxPos field which tells when to stop reading the underlying stream regardless of whether or not end-of-stream has been reached. If there is no limit, maxPos is set to -1. If we instead set maxPos to infinity (Long.MAX_VALUE is close enough), the special handling of maxPos==-1 could be removed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.