Permalink
Browse files

Fixed issue where text-based record keys returned from a SuperColumnF…

…amily Range Slice were backwards.
  • Loading branch information...
1 parent e660c68 commit 242daad743209182402f8a260dfb812916e2d6ee @smerchek smerchek committed Sep 5, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/Operations/GetSuperColumnFamilyRangeSlices.cs
@@ -30,7 +30,9 @@ public override IEnumerable<FluentSuperColumnFamily> Execute()
foreach (var result in output)
{
- var r = new FluentSuperColumnFamily(result.Key, ColumnFamily.FamilyName, schema, result.Columns.Select(col => {
+ var key = CassandraObject.GetCassandraObjectFromDatabaseByteArray(result.Key, schema.KeyValueType);
+
+ var r = new FluentSuperColumnFamily(key, ColumnFamily.FamilyName, schema, result.Columns.Select(col => {
var superCol = Helper.ConvertSuperColumnToFluentSuperColumn(col.Super_column, schema);
ColumnFamily.Context.Attach(superCol);
superCol.MutationTracker.Clear();

0 comments on commit 242daad

Please sign in to comment.