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-1098) (more) spurious nodes in parsed SQL query tree
Date Wed, 29 Aug 2007 13:53:30 GMT
(more) spurious nodes in parsed SQL query tree
----------------------------------------------

                 Key: JCR-1098
                 URL: https://issues.apache.org/jira/browse/JCR-1098
             Project: Jackrabbit
          Issue Type: Bug
          Components: sql
            Reporter: Julian Reschke
            Priority: Minor


The following SQL query:

  SELECT * FROM nt:base WHERE jcr:path LIKE '/x/%' AND NOT jcr:path LIKE '/x/%/%'

generates the parse tree below:

+ Root node
+ Select properties: *
  + PathQueryNode
    + LocationStepQueryNode:  NodeTest={} Descendants=false Index=NONE
    + LocationStepQueryNode:  NodeTest={}x Descendants=false Index=1
    + LocationStepQueryNode:  NodeTest=* Descendants=false Index=NONE
      + AndQueryNode
        + AndQueryNode
          + NotQueryNode
          
Note the empty "AndQueryNode" and "NotQueryNode" nodes.
          

-- 
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