You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2014/05/03 03:19:15 UTC

[jira] [Commented] (CASSANDRA-7142) Suggest CTRL-C/D or semicolon after three blank lines in cqlsh

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

Brandon Williams commented on CASSANDRA-7142:
---------------------------------------------

+1

> Suggest CTRL-C/D or semicolon after three blank lines in cqlsh
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-7142
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7142
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Tyler Hobbs
>            Assignee: Mikhail Stepura
>            Priority: Trivial
>              Labels: lhf
>             Fix For: 2.0.8, 2.1 rc1
>
>         Attachments: cassandra-2.0-7142.patch
>
>
> After observing a few people use Cassandra and cqlsh for the first time, most of them miss a quote or a semi-colon in cqlsh and do something like this:
> {noformat}
> cqlsh> INSERT INTO users (name, email) VALUES ('joe', 'joe@gmail')
>    ... 
>    ... 
>    ... 
>    ... 
>    ... 
> {noformat}
> If cqlsh gets three blank lines in a row, it could print something like:
> {noformat}
> Statements are terminated with a ';'.  You can press CTRL-C to cancel an imcomplete statement.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)