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