Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 55561 invoked from network); 8 Feb 2011 15:43:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Feb 2011 15:43:22 -0000 Received: (qmail 53527 invoked by uid 500); 8 Feb 2011 15:43:22 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 53265 invoked by uid 500); 8 Feb 2011 15:43:19 -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 53241 invoked by uid 99); 8 Feb 2011 15:43:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 15:43:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rsjay1976@gmail.com designates 209.85.212.172 as permitted sender) Received: from [209.85.212.172] (HELO mail-px0-f172.google.com) (209.85.212.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 15:43:13 +0000 Received: by pxi6 with SMTP id 6so1438805pxi.31 for ; Tue, 08 Feb 2011 07:42:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=74epLNjz5jHtfDseObCpxvs2Ga4QCXG8Seanu9ObISc=; b=ZgPVmDTYfECFl4GBeyH9WksYOnsQM8tyOAKQJIS+9tuV73Z6kCLCSUN47ZidVImYVM 4QUXqK1sFXqT7hxym1UMhItOwfVLXs68NHEBGrNSP920ke6zmBGCswFl9oIkO8CIAhP5 mZbH8yJTNZbv+4JYemqLUfOv8vC1p3jtUFIh4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=YFH3ec+6YsWmoQn09lBzoaJtsACnCxGRXdlQk0bMsvt9pbGssAq/yO2zD3pDn6QkgH /TOkock4w6koBbAF7L1U+4m9mJZkVjt57yHTaX7kQnh6V3kw2vbhmuSmn6E+JZ30HDDC OVgSY1IDat2vQPvA5M+KeVeCaSxRE/BFX0V8o= MIME-Version: 1.0 Received: by 10.142.241.13 with SMTP id o13mr4078669wfh.9.1297179773134; Tue, 08 Feb 2011 07:42:53 -0800 (PST) Received: by 10.142.174.5 with HTTP; Tue, 8 Feb 2011 07:42:53 -0800 (PST) In-Reply-To: <1793926939.2214.1297167477468.JavaMail.tomcat@hel.zones.apache.org> References: <1774924227.1698.1297141617690.JavaMail.tomcat@hel.zones.apache.org> <1793926939.2214.1297167477468.JavaMail.tomcat@hel.zones.apache.org> Date: Tue, 8 Feb 2011 09:42:53 -0600 Message-ID: Subject: Re: [jira] Commented: (DERBY-5010) [patch] bad equivalence check From: Jayaram Subramanian To: derby-dev@db.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Knut, I am interested in taking up this task. Let me know your views on the same= . With Regards Jayaram On Tue, Feb 8, 2011 at 6:17 AM, Knut Anders Hatlen (JIRA) wrote: > > =A0 =A0[ https://issues.apache.org/jira/browse/DERBY-5010?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D12991950#comment-12991950 ] > > Knut Anders Hatlen commented on DERBY-5010: > ------------------------------------------- > > The current code looks wrong and the suggested fix looks right. > > None of our regression tests seem to exercise this code path, though. It = would be good if someone could come up with a statement that caused this co= de to be executed so that we can verify that it behaves as expected after t= he proposed changes. > >> [patch] bad equivalence check >> ----------------------------- >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Key: DERBY-5010 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 URL: https://issues.apache.org/jira/brow= se/DERBY-5010 >> =A0 =A0 =A0 =A0 =A0 =A0 Project: Derby >> =A0 =A0 =A0 =A0 =A0Issue Type: Bug >> =A0 =A0 =A0 =A0 =A0Components: SQL >> =A0 =A0Affects Versions: 10.7.1.1 >> =A0 =A0 =A0 =A0 =A0 =A0Reporter: Dave Brosius >> =A0 =A0 =A0 =A0 =A0 =A0Priority: Trivial >> =A0 =A0 =A0 =A0 =A0 =A0 Fix For: 10.8.0.0 >> >> =A0 =A0 =A0 =A0 Attachments: bad_equivalence_check.diff >> >> =A0 Original Estimate: 1h >> =A0Remaining Estimate: 1h >> >> code attempts to compare two BaseColumnNodes but doesn't compare the tab= leName correctly. > > -- > This message is automatically generated by JIRA. > - > For more information on JIRA, see: http://www.atlassian.com/software/jira > > >