Updated Branches: refs/heads/trunk f3b636fc2 -> 64f3ab270
cqlsh: allow describing system tables Patch by Aleksey Yeschenko, reviewed by brandonwilliams for CASSANDRA-4863 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/64f3ab27 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/64f3ab27 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/64f3ab27 Branch: refs/heads/trunk Commit: 64f3ab270964ea1f82508d385edbd387aa60e30f Parents: f3b636f Author: Brandon Williams <[email protected]> Authored: Fri Oct 26 06:31:44 2012 -0500 Committer: Brandon Williams <[email protected]> Committed: Fri Oct 26 06:31:44 2012 -0500 ---------------------------------------------------------------------- bin/cqlsh | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/64f3ab27/bin/cqlsh ---------------------------------------------------------------------- diff --git a/bin/cqlsh b/bin/cqlsh index 9df42bc..8171bb4 100755 --- a/bin/cqlsh +++ b/bin/cqlsh @@ -1220,8 +1220,7 @@ class Shell(cmd.Cmd): # no metainfo available from system.schema_* for system CFs, so we have # to use cfdef-based description for those. - if ksname not in SYSTEM_KEYSPACES \ - and self.cqlver_atleast(3): + if self.cqlver_atleast(3) and not self.is_cql3_beta(): try: layout = self.get_columnfamily_layout(ksname, cfname) except CQL_ERRORS:
