Permalink
Browse files

Fix timestamp/clock bug for 0.7 remove call

  • Loading branch information...
1 parent 580b723 commit acc4d37744032e152cacc7ef4b5e059121a015d6 @b b committed Sep 5, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cassandra/0.7/protocol.rb
View
2 lib/cassandra/0.7/protocol.rb
@@ -9,7 +9,7 @@ def _mutate(mutation_map, consistency_level)
end
def _remove(key, column_path, timestamp, consistency_level)
- client.remove(key, column_path, timestamp, consistency_level)
+ client.remove(key, column_path, CassandraThrift::Clock.new(:timestamp => timestamp), consistency_level)
end
def _count_columns(column_family, key, super_column, consistency)

0 comments on commit acc4d37

Please sign in to comment.