cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alek...@apache.org
Subject git commit: ninja-fix cqlsh get_columnfamily_names_cql3 for case-sensitive keyspace names
Date Mon, 19 Nov 2012 02:51:56 GMT
Updated Branches:
  refs/heads/cassandra-1.2.0 6e332e340 -> c3173d475


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.0
Commit: c3173d475f05a5025369a361dc3a4a94a35319c5
Parents: 6e332e3
Author: Aleksey Yeschenko <aleksey@apache.org>
Authored: Mon Nov 19 05:50:36 2012 +0300
Committer: Aleksey Yeschenko <aleksey@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):


Mime
View raw message