Merge branch 'cassandra-2.1' into trunk

This commit is contained in:
Tyler Hobbs 2014-12-17 18:04:33 -06:00
commit ba6e4239ec
2 changed files with 2 additions and 1 deletions

View File

@ -41,6 +41,7 @@
2.1.3
* (cqlsh) Fix output of CONSISTENCY command (CASSANDRA-8507)
* (cqlsh) Fixed the handling of LIST statements (CASSANDRA-8370)
* Make sstablescrub check leveled manifest again (CASSANDRA-8432)
* Check first/last keys in sstable when giving out positions (CASSANDRA-8458)

View File

@ -1720,7 +1720,7 @@ class Shell(cmd.Cmd):
"""
level = parsed.get_binding('level')
if level is None:
print 'Current consistency level is %s.' % (self.consistency_level)
print 'Current consistency level is %s.' % (cassandra.ConsistencyLevel.value_to_name[self.consistency_level])
return
self.consistency_level = cassandra.ConsistencyLevel.name_to_value[level.upper()]