cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tylerho...@apache.org
Subject cassandra git commit: cqlsh: fix DESCRIBE KEYSPACES
Date Wed, 01 Jul 2015 22:22:55 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 3491ab542 -> c5f03a988


cqlsh: fix DESCRIBE KEYSPACES

Patch by Mike Adamson; reviewed by Tyler Hobbs for CASSANDRA-9693


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

Branch: refs/heads/cassandra-2.1
Commit: c5f03a988396bb5969a0bb3dd835218c0658e681
Parents: 3491ab5
Author: Mike Adamson <madamson@datastax.com>
Authored: Wed Jul 1 17:12:11 2015 -0500
Committer: Tyler Hobbs <tylerlhobbs@gmail.com>
Committed: Wed Jul 1 17:12:11 2015 -0500

----------------------------------------------------------------------
 bin/cqlsh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c5f03a98/bin/cqlsh
----------------------------------------------------------------------
diff --git a/bin/cqlsh b/bin/cqlsh
index 9f872f8..bf0f8fd 100755
--- a/bin/cqlsh
+++ b/bin/cqlsh
@@ -1423,7 +1423,7 @@ class Shell(cmd.Cmd):
         what = parsed.matched[1][1].lower()
         if what == 'keyspaces':
             self.describe_keyspaces()
-        if what == 'keyspace':
+        elif what == 'keyspace':
             ksname = self.cql_unprotect_name(parsed.get_binding('ksname', ''))
             if not ksname:
                 ksname = self.current_keyspace


Mime
View raw message