Permalink
Browse files

Made the same change to SuperColumnFamilies

  • Loading branch information...
Aaronontheweb committed Jan 6, 2013
1 parent 668cc47 commit cce150dab4fb6b1fc9b814d5a7b85f0446962e5a
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/Operations/MultiGetSuperColumnFamilySlice.cs
@@ -53,7 +53,12 @@ public override IEnumerable<FluentSuperColumnFamily> Execute()
}
else
{
- superColumns = result.Value.Select(col => Helper.ConvertSuperColumnToFluentSuperColumn(col.Super_column, schema));
+ superColumns = result.Value.Select(col =>
+ {
+ if (col.Counter_super_column != null)
+ return Helper.ConvertSuperColumnToFluentCounterSuperColumn(col.Counter_super_column, schema);
+ return Helper.ConvertSuperColumnToFluentSuperColumn(col.Super_column, schema);
+ });
}
var familyName = ColumnFamily.FamilyName;

0 comments on commit cce150d

Please sign in to comment.