Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 70622 invoked from network); 27 Aug 2007 13:06:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Aug 2007 13:06:01 -0000 Received: (qmail 44279 invoked by uid 500); 27 Aug 2007 13:05:56 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 44040 invoked by uid 500); 27 Aug 2007 13:05:56 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 44031 invoked by uid 99); 27 Aug 2007 13:05:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2007 06:05:56 -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; Mon, 27 Aug 2007 13:06:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C032971420E for ; Mon, 27 Aug 2007 06:05:30 -0700 (PDT) Message-ID: <12617349.1188219930784.JavaMail.jira@brutus> Date: Mon, 27 Aug 2007 06:05:30 -0700 (PDT) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-1090) Superfluous AndQueryNode in query tree built by SQL parser In-Reply-To: <28458876.1188205410486.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/JCR-1090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved JCR-1090. ----------------------------------- Resolution: Fixed Fix Version/s: 1.4 Fixed in revision: 570098 > Superfluous AndQueryNode in query tree built by SQL parser > ----------------------------------------------------------- > > Key: JCR-1090 > URL: https://issues.apache.org/jira/browse/JCR-1090 > Project: Jackrabbit > Issue Type: Bug > Components: query > Reporter: Julian Reschke > Priority: Minor > Fix For: 1.4 > > > Test query (tested with ): > SELECT * FROM nt:folder WHERE x = 1 > generates the following query tree: > + Root node > + Select properties: * > + PathQueryNode > + LocationStepQueryNode: NodeTest=* Descendants=true Index=NONE > + AndQueryNode > + RelationQueryNode: Op: = Prop=@{}x Type=LONG Value=1 > + NodeTypeQueryNode: Prop={http://www.jcp.org/jcr/1.0}primaryType Value={http://www.jcp.org/jcr/nt/1.0}folder > It seems the AndQueryNode is superfluous. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.