Commits

pcmanus  committed b0c0fae

Fix typo in SuperColumn.mostRecentLiveChangeAt()

patch by slebresne; reviewed by driftx for CASSANDRA-3917

  • Participants
  • Parent commits 7f4693d
  • Tags 1.1.0-beta1-tentative

Comments (0)

Files changed (1)

File 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();
             }