Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 28665 invoked from network); 9 Feb 2010 14:41:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Feb 2010 14:41:50 -0000 Received: (qmail 84343 invoked by uid 500); 9 Feb 2010 14:41:49 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 84263 invoked by uid 500); 9 Feb 2010 14:41:49 -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 84057 invoked by uid 99); 9 Feb 2010 14:41:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 14:41:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 14:41:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2FE0A234C052 for ; Tue, 9 Feb 2010 06:41:28 -0800 (PST) Message-ID: <716874569.150451265726488194.JavaMail.jira@brutus.apache.org> Date: Tue, 9 Feb 2010 14:41:28 +0000 (UTC) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4542) Avoid materialization where possible when cloning CollatorSQLClob In-Reply-To: <769950135.123691265650347993.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan updated DERBY-4542: ----------------------------------- Attachment: derby-4542-1a-avoid_materialization.diff Attached a fix as patch 1a, which asks SQLClob to clone the value as long as materialization isn't forced. Regression tests just started. Patch ready for review. > Avoid materialization where possible when cloning CollatorSQLClob > ----------------------------------------------------------------- > > Key: DERBY-4542 > URL: https://issues.apache.org/jira/browse/DERBY-4542 > Project: Derby > Issue Type: Improvement > Components: Store > Affects Versions: 10.3.3.0, 10.4.2.0, 10.5.3.0, 10.6.0.0 > Reporter: Kristian Waagan > Priority: Minor > Attachments: ClobCollationTest.java, derby-4477-workaround.diff, derby-4542-1a-avoid_materialization.diff > > > Cloning a CollatorSQLClob results in always materializing the value. Since CLOBs can be very large, this should be avoided. There should now be sufficient functionality to do this, see SQLClob. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.