Sylvain Lebresne created CASSANDRA-4659:
-------------------------------------------
Summary: Fix consistency ALL parsing in CQL3
Key: CASSANDRA-4659
URL: https://issues.apache.org/jira/browse/CASSANDRA-4659
Project: Cassandra
Issue Type: Bug
Affects Versions: 1.2.0 beta 1
Reporter: Sylvain Lebresne
Assignee: Sylvain Lebresne
Priority: Trivial
Fix For: 1.2.0 beta 1
CASSANDRA-4490 made some change to the parsing of ALL for consistency levels
(introducing a specific token K_ALL). It's unclear why since that new token is
not used (that is, except for the consistency level), probably some left over
of a previous version of the patch.
In any case, this doesn't work. K_ALL and K_LEVEL being both tokens, the string
'ALL' will always generate K_ALL and never K_LEVEL and thus 'USING CONSISTENCY
ALL' doesn't parse anymore.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira