cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject svn commit: r890514 - /incubator/cassandra/branches/cassandra-0.5/src/java/org/apache/cassandra/tools/SSTableImport.java
Date Mon, 14 Dec 2009 22:38:01 GMT
Author: eevans
Date: Mon Dec 14 22:38:01 2009
New Revision: 890514

URL: http://svn.apache.org/viewvc?rev=890514&view=rev
Log:
do trivial arithmetic correctly

Patch by eevans; reviewed by Ramzi Rabah for CASSANDRA-618

Modified:
    incubator/cassandra/branches/cassandra-0.5/src/java/org/apache/cassandra/tools/SSTableImport.java

Modified: incubator/cassandra/branches/cassandra-0.5/src/java/org/apache/cassandra/tools/SSTableImport.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/branches/cassandra-0.5/src/java/org/apache/cassandra/tools/SSTableImport.java?rev=890514&r1=890513&r2=890514&view=diff
==============================================================================
--- incubator/cassandra/branches/cassandra-0.5/src/java/org/apache/cassandra/tools/SSTableImport.java
(original)
+++ incubator/cassandra/branches/cassandra-0.5/src/java/org/apache/cassandra/tools/SSTableImport.java
Mon Dec 14 22:38:01 2009
@@ -115,7 +115,7 @@
             }
             
             SuperColumn superColumn = (SuperColumn)cfamily.getColumn(superName);
-            superColumn.markForDeleteAt((int)System.currentTimeMillis(), deletedAt);
+            superColumn.markForDeleteAt((int)(System.currentTimeMillis()/1000), deletedAt);
         }
     }
 



Mime
View raw message