CLI escaped single quote parsing gives errors
---------------------------------------------

                 Key: CASSANDRA-2623
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2623
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
    Affects Versions: 0.7.5, 0.7.2
         Environment: windows vista, linux
            Reporter: rday


Escaping quotes in cli commands causes parsing errors.


some examples::::
No need to create columns etc, it doesn't get through parsing the expression::

cassandra-cli

1.
set column['KEY+val\'s'][VALUE] = 'VAL' ;
Syntax error at position 41: mismatched character '<EOF>' expecting '''

2.
set column['KEY+vals\''][VALUE] = 'VAL\'' ;
Syntax error at position 38: unexpected "\" for `set 
column['KEY+vals\''][VALUE] = 'VAL\'' ;`.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to