Commits

pcmanus committed b0c0fae

Fix typo in SuperColumn.mostRecentLiveChangeAt()

patch by slebresne; reviewed by driftx for CASSANDRA-3917

Comments (0)

Files changed (1)

src/java/org/apache/cassandra/db/SuperColumn.java

         long max = Long.MIN_VALUE;
         for (IColumn column : getSubColumns())
         {
-            if (column.isMarkedForDelete() && column.timestamp() > max)
+            if (!column.isMarkedForDelete() && column.timestamp() > max)
             {
                 max = column.timestamp();
             }