You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by al...@apache.org on 2012/11/19 03:52:51 UTC

[2/2] git commit: ninja-fix cqlsh get_columnfamily_names_cql3 for case-sensitive keyspace names

ninja-fix cqlsh get_columnfamily_names_cql3 for case-sensitive keyspace names


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

Branch: refs/heads/cassandra-1.2
Commit: c3173d475f05a5025369a361dc3a4a94a35319c5
Parents: 6e332e3
Author: Aleksey Yeschenko <al...@apache.org>
Authored: Mon Nov 19 05:50:36 2012 +0300
Committer: Aleksey Yeschenko <al...@apache.org>
Committed: Mon Nov 19 05:50:36 2012 +0300

----------------------------------------------------------------------
 bin/cqlsh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c3173d47/bin/cqlsh
----------------------------------------------------------------------
diff --git a/bin/cqlsh b/bin/cqlsh
index 53eef8a..142b036 100755
--- a/bin/cqlsh
+++ b/bin/cqlsh
@@ -726,7 +726,7 @@ class Shell(cmd.Cmd):
         else:
             cf_q = """select "columnfamily" from system.schema_columnfamilies
                        where "keyspace"=:ks"""
-        self.cursor.execute(cf_q, {'ks': ksname})
+        self.cursor.execute(cf_q, {'ks': self.cql_unprotect_name(ksname)})
         return [str(row[0]) for row in self.cursor.fetchall()]
 
     def get_columnfamily_layout(self, ksname, cfname):