Skip to content

Commit

Permalink
Fix #remove in a batch mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
rykov committed Apr 9, 2011
1 parent 359478d commit 3866271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cassandra/cassandra.rb
Expand Up @@ -146,7 +146,7 @@ def remove(column_family, key, *columns_and_options)
mutation_map =
{
key => {
column_family => [ _delete_mutation(column_family , is_super(column_family)? column : nil , sub_column , options[:timestamp]|| Time.stamp) ]
column_family => [ _delete_mutation(column_family, column, sub_column, options[:timestamp]|| Time.stamp) ]
}
}
@batch << [mutation_map, options[:consistency]]
Expand Down

0 comments on commit 3866271

Please sign in to comment.