You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2014/12/15 11:41:13 UTC

[jira] [Commented] (OAK-2354) Support comments anywhere in a SQL-2 statement

    [ https://issues.apache.org/jira/browse/OAK-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14246536#comment-14246536 ] 

Thomas Mueller commented on OAK-2354:
-------------------------------------

Revision 1645616. 

XPath queries are a comment within SQL-2 queries. 
For that case, the end comment "\*/" within the query is replaced with "\* /" (a space is added).

> Support comments anywhere in a SQL-2 statement
> ----------------------------------------------
>
>                 Key: OAK-2354
>                 URL: https://issues.apache.org/jira/browse/OAK-2354
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
>
> Currently, /* C-style comments */ are supported at the end of SQL-2 statements. They should be supported anywhere in the query.
> XPath queries can't support such comments, as "/*/" is valid syntax.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)