diff --git a/CHANGES.txt b/CHANGES.txt index 979b017cff..0f44c91464 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -47,6 +47,7 @@ Merged from 1.2: 2.1.0 + * (cqlsh) Fix case insensitivity (CASSANDRA-7834) * Fix failure to stream ranges when moving (CASSANDRA-7836) * Correctly remove tmplink files (CASSANDRA-7803) * (cqlsh) Fix column name formatting for functions, CAS operations, diff --git a/pylib/cqlshlib/cql3handling.py b/pylib/cqlshlib/cql3handling.py index 765541336d..8343c97093 100644 --- a/pylib/cqlshlib/cql3handling.py +++ b/pylib/cqlshlib/cql3handling.py @@ -111,8 +111,9 @@ class Cql3ParsingRuleSet(CqlParsingRuleSet): if name == '': return name if name[0] == '"' and name[-1] == '"': - name = name[1:-1].replace('""', '"') - return name + return name[1:-1].replace('""', '"') + else: + return name.lower() @staticmethod def dequote_value(cqlword):