cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11123) cqlsh pg-style-strings broken if line ends with ';'
Date Tue, 16 Feb 2016 17:39:18 GMT

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

Robert Stupp commented on CASSANDRA-11123:
------------------------------------------

OK, renamed the variable in both places to {{end token_escaped}} and pushed the branches.
GTG?

> cqlsh pg-style-strings broken if line ends with ';'
> ---------------------------------------------------
>
>                 Key: CASSANDRA-11123
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11123
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>            Priority: Minor
>             Fix For: 2.2.x
>
>
> If one separate line in a multi-line pg-style-string ends with a semicolon in cqlsh,
cqlsh incorrectly assumes that that is the end of the statement.
> {code}
> cqlsh:foo> insert into tab (pk, val) values (2, $$
>        ... wepofjef
>        ... wefoijew
>        ... ;
> SyntaxException: <ErrorMessage code=2000 [Syntax error in CQL query] message="line
4:0 mismatched character ';' expecting '$'">
> {code}



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

Mime
View raw message