Skip to content
This repository
Browse code

Fix timestamp/clock bug for 0.7 remove call

  • Loading branch information...
commit acc4d37744032e152cacc7ef4b5e059121a015d6 1 parent 580b723
Benjamin Black authored September 04, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/cassandra/0.7/protocol.rb
2  lib/cassandra/0.7/protocol.rb
@@ -9,7 +9,7 @@ def _mutate(mutation_map, consistency_level)
9 9
     end
10 10
 
11 11
     def _remove(key, column_path, timestamp, consistency_level)
12  
-      client.remove(key, column_path, timestamp, consistency_level)
  12
+      client.remove(key, column_path, CassandraThrift::Clock.new(:timestamp => timestamp), consistency_level)
13 13
     end
14 14
 
15 15
     def _count_columns(column_family, key, super_column, consistency)

0 notes on commit acc4d37

Please sign in to comment.
Something went wrong with that request. Please try again.