Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

call iter.next before iter.remove

patch by jbellis; reviewed by brandonwilliams for CASSANDRA-5440
  • Loading branch information...
commit 08b2bc5963a8732b5444f42ee421f15df9c838ea 1 parent 1626759
@jbellis jbellis authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/java/org/apache/cassandra/db/filter/SliceQueryFilter.java
View
3  src/java/org/apache/cassandra/db/filter/SliceQueryFilter.java
@@ -184,7 +184,10 @@ public void trim(ColumnFamily cf, int trimTo)
{
iter.remove();
while (iter.hasNext())
+ {
+ iter.next();
iter.remove();
+ }
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.