cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mish...@apache.org
Subject [1/6] git commit: Fix autocompletion for alter keyspace
Date Tue, 14 Oct 2014 17:39:09 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.0 cc8eeefe8 -> 1d02d7b34
  refs/heads/cassandra-2.1 b76dc9727 -> e57d027c9
  refs/heads/trunk c55cbc763 -> 13c4719f7


Fix autocompletion for alter keyspace

patch by Rajanarayanan Thottuvaikkatumana; reviewed by Mikhail Stepura for CASSANDRA-8021


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/1d02d7b3
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/1d02d7b3
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/1d02d7b3

Branch: refs/heads/cassandra-2.0
Commit: 1d02d7b34eafd0594ffc87608ac816fb5af39b89
Parents: cc8eeef
Author: Rajanarayanan Thottuvaikkatumana <rnamboodiri@gmail.com>
Authored: Tue Oct 14 10:36:53 2014 -0700
Committer: Mikhail Stepura <mishail@apache.org>
Committed: Tue Oct 14 10:36:53 2014 -0700

----------------------------------------------------------------------
 CHANGES.txt                    | 1 +
 pylib/cqlshlib/cql3handling.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/1d02d7b3/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 2faea63..8b462f1 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.0.11:
+ * (cqlsh) Fix autocompletion for alter keyspace (CASSANDRA-8021)
  * Create backup directories for commitlog archiving during startup (CASSANDRA-8111)
  * Reduce totalBlockFor() for LOCAL_* consistency levels (CASSANDRA-8058)
  * Fix merging schemas with re-dropped keyspaces (CASSANDRA-7256)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/1d02d7b3/pylib/cqlshlib/cql3handling.py
----------------------------------------------------------------------
diff --git a/pylib/cqlshlib/cql3handling.py b/pylib/cqlshlib/cql3handling.py
index 01818ca..c08088a 100644
--- a/pylib/cqlshlib/cql3handling.py
+++ b/pylib/cqlshlib/cql3handling.py
@@ -993,7 +993,7 @@ def alter_table_col_completer(ctxt, cass):
 explain_completion('alterInstructions', 'newcol', '<new_column_name>')
 
 syntax_rules += r'''
-<alterKeyspaceStatement> ::= "ALTER" ( "KEYSPACE" | "SCHEMA" ) ks=<alterableKeyspaceName>
+<alterKeyspaceStatement> ::= "ALTER" wat=( "KEYSPACE" | "SCHEMA" ) ks=<alterableKeyspaceName>
                                  "WITH" <property> ( "AND" <property> )*
                            ;
 '''


Mime
View raw message