Merge branch 'cassandra-2.1.0' into cassandra-2.1

This commit is contained in:
Tyler Hobbs 2014-08-27 14:20:52 -05:00
commit c7f9c8d21a
2 changed files with 4 additions and 2 deletions

View File

@ -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,

View File

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