Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 62632 invoked from network); 11 Jun 2007 04:44:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jun 2007 04:44:48 -0000 Received: (qmail 55447 invoked by uid 500); 11 Jun 2007 04:44:51 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 55412 invoked by uid 500); 11 Jun 2007 04:44:51 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 55399 invoked by uid 99); 11 Jun 2007 04:44:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jun 2007 21:44:51 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jun 2007 21:44:47 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id B3D761A981A; Sun, 10 Jun 2007 21:44:26 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r546002 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/SetOperatorNode.java Date: Mon, 11 Jun 2007 04:44:26 -0000 To: derby-commits@db.apache.org From: mamta@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070611044426.B3D761A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mamta Date: Sun Jun 10 21:44:25 2007 New Revision: 546002 URL: http://svn.apache.org/viewvc?view=rev&rev=546002 Log: DERBY-2777 SetOperatorNode was using current compilation schema's collation if there is a parameter involved. Instead, let the parameter pick up it's collation from it's context. Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/SetOperatorNode.java Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/SetOperatorNode.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/SetOperatorNode.java?view=diff&rev=546002&r1=546001&r2=546002 ============================================================================== --- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/SetOperatorNode.java (original) +++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/SetOperatorNode.java Sun Jun 10 21:44:25 2007 @@ -728,9 +728,6 @@ ** type array. */ rc.getExpression().setType(types[index]); - //collation of ? operand should be same as the compilation schema - rc.getExpression().setCollationUsingCompilationSchema( - StringDataValue.COLLATION_DERIVATION_IMPLICIT); } } }