mirror of https://github.com/apache/cassandra
cqlsh: fix DESCRIBE KEYSPACES
Patch by Mike Adamson; reviewed by Tyler Hobbs for CASSANDRA-9693
This commit is contained in:
parent
3491ab542c
commit
c5f03a9883
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue