cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject git commit: call iter.next before iter.remove patch by jbellis; reviewed by brandonwilliams for CASSANDRA-5440
Date Tue, 09 Apr 2013 22:04:59 GMT
Updated Branches:
  refs/heads/trunk 162675983 -> 08b2bc596


call iter.next before iter.remove
patch by jbellis; reviewed by brandonwilliams for CASSANDRA-5440


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/08b2bc59
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/08b2bc59
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/08b2bc59

Branch: refs/heads/trunk
Commit: 08b2bc5963a8732b5444f42ee421f15df9c838ea
Parents: 1626759
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Tue Apr 9 17:04:57 2013 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Tue Apr 9 17:04:57 2013 -0500

----------------------------------------------------------------------
 .../cassandra/db/filter/SliceQueryFilter.java      |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/08b2bc59/src/java/org/apache/cassandra/db/filter/SliceQueryFilter.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/filter/SliceQueryFilter.java b/src/java/org/apache/cassandra/db/filter/SliceQueryFilter.java
index d428883..48a7a39 100644
--- a/src/java/org/apache/cassandra/db/filter/SliceQueryFilter.java
+++ b/src/java/org/apache/cassandra/db/filter/SliceQueryFilter.java
@@ -184,7 +184,10 @@ public class SliceQueryFilter implements IDiskAtomFilter
             {
                 iter.remove();
                 while (iter.hasNext())
+                {
+                    iter.next();
                     iter.remove();
+                }
             }
         }
     }


Mime
View raw message