[
https://issues.apache.org/jira/browse/JCR-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting updated JCR-1098:
-------------------------------
Component/s: jackrabbit-core
Issue Type: Improvement (was: Bug)
> (more) spurious nodes in parsed SQL query tree
> ----------------------------------------------
>
> Key: JCR-1098
> URL: https://issues.apache.org/jira/browse/JCR-1098
> Project: Jackrabbit
> Issue Type: Improvement
> Components: jackrabbit-core, 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.