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

Robert Stupp commented on CASSANDRA-12154:
------------------------------------------

Oh! Good catch, [~ethx]!

Found a similar one for {{jsonValue}}.

Patches for 3.0 and trunk here:
||cassandra-3.0|[branch|https://github.com/apache/cassandra/compare/cassandra-3.0...snazy:12154-3.0]|[testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-12154-3.0-testall/lastSuccessfulBuild/]|[dtest|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-12154-3.0-dtest/lastSuccessfulBuild/]
||trunk|[branch|https://github.com/apache/cassandra/compare/trunk...snazy:12154-trunk]|[testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-12154-trunk-testall/lastSuccessfulBuild/]|[dtest|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-12154-trunk-dtest/lastSuccessfulBuild/]


> "SELECT * FROM foo LIMIT ;" does not error out
> ----------------------------------------------
>
>                 Key: CASSANDRA-12154
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12154
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>            Reporter: Robert Stupp
>            Assignee: Mahdi Mohammadi
>            Priority: Minor
>              Labels: lhf
>
> We found out that {{SELECT * FROM foo LIMIT ;}} is unanimously accepted and 
> executed but it should not.
> Have not dug deeper why that is possible (it's not a big issue IMO) but it is 
> strange. Seems it doesn't parse {{LIMIT}} as {{K_LIMIT}} because otherwise it 
> would require an int argument.



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

Reply via email to