cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [5/6] git commit: fix bad comparison of IColumn to ByteBuffer patch by Dave Brosius; reviewed by jbellis for CASSANDRA-3786
Date Thu, 26 Jan 2012 07:33:40 GMT
fix bad comparison of IColumn to ByteBuffer
patch by Dave Brosius; reviewed by jbellis for CASSANDRA-3786


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

Branch: refs/heads/trunk
Commit: 2f879f278d77608d23891920bf1c95f697b6a25b
Parents: 671a0c9
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Thu Jan 26 01:10:50 2012 -0600
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Thu Jan 26 01:33:22 2012 -0600

----------------------------------------------------------------------
 .../cassandra/db/index/keys/KeysSearcher.java      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/2f879f27/src/java/org/apache/cassandra/db/index/keys/KeysSearcher.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/index/keys/KeysSearcher.java b/src/java/org/apache/cassandra/db/index/keys/KeysSearcher.java
index cdf9856..124169a 100644
--- a/src/java/org/apache/cassandra/db/index/keys/KeysSearcher.java
+++ b/src/java/org/apache/cassandra/db/index/keys/KeysSearcher.java
@@ -162,7 +162,7 @@ public class KeysSearcher extends SecondaryIndexSearcher
                             columnsRead--;
                             logger.debug("Skipping {}", baseCfs.metadata.getKeyValidator().getString(firstColumn.name()));
                         }
-                        else if (range instanceof Range && indexColumns.hasNext()
&& firstColumn.equals(startKey))
+                        else if (range instanceof Range && indexColumns.hasNext()
&& firstColumn.name().equals(startKey))
                         {
                             // skip key excluded by range
                             indexColumns.next();


Mime
View raw message