You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2007/08/29 15:53:30 UTC
[jira] Created: (JCR-1098) (more) spurious nodes in parsed SQL
query tree
(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.
[jira] Updated: (JCR-1098) (more) spurious nodes in parsed SQL
query tree
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ 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.