Commits

Anonymous committed c3173d4

ninja-fix cqlsh get_columnfamily_names_cql3 for case-sensitive keyspace names

Comments (0)

Files changed (1)

         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):