jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1090) Superfluous AndQueryNode in query tree built by SQL parser
Date Mon, 27 Aug 2007 09:03:30 GMT
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


Test query (tested with <http://people.apache.org/~mreutegg/jcr-query-translator/translator.html>):

  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.


Mime
View raw message