Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E40D34162 for ; Mon, 9 May 2011 14:37:44 +0000 (UTC) Received: (qmail 65255 invoked by uid 500); 9 May 2011 14:37:44 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 65230 invoked by uid 500); 9 May 2011 14:37:44 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 65222 invoked by uid 99); 9 May 2011 14:37:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2011 14:37:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2011 14:37:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2C050C8107 for ; Mon, 9 May 2011 14:37:03 +0000 (UTC) Date: Mon, 9 May 2011 14:37:03 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <1587051725.32462.1304951823177.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1599665030.30568.1304803323267.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CASSANDRA-2623) CLI escaped single quote parsing gives errors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-2623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-2623: -------------------------------------- Priority: Minor (was: Major) Affects Version/s: (was: 0.7.5) (was: 0.7.2) Fix Version/s: 0.8.1 0.7.6 > 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 > Environment: windows vista, linux > Reporter: rday > Assignee: Pavel Yaskevich > Priority: Minor > Labels: cli > Fix For: 0.7.6, 0.8.1 > > > 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+vals'][VALUE] = 'VAL\'' ; > Syntax error at position 41: mismatched character '' expecting ''' > 2. > set column['KEY+val\'s'][VALUE] = 'VAL' ; > Syntax error at position 41: mismatched character '' expecting ''' > 3. > 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