cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [1/2] git commit: Fix assertion encountered when using heap_buffers
Date Fri, 05 Sep 2014 12:57:47 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 37a9d405c -> 3f1820f1d


Fix assertion encountered when using heap_buffers

Patch by tjake; reviewed be belliottsmitch for CASSANDRA-7862


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

Branch: refs/heads/trunk
Commit: 3a410175ff8f5e37c263f18315feb60fc217c3dc
Parents: dd972e6
Author: Jake Luciani <jake@apache.org>
Authored: Fri Sep 5 08:47:01 2014 -0400
Committer: Jake Luciani <jake@apache.org>
Committed: Fri Sep 5 08:47:01 2014 -0400

----------------------------------------------------------------------
 .../apache/cassandra/db/composites/AbstractSimpleCellNameType.java  | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/3a410175/src/java/org/apache/cassandra/db/composites/AbstractSimpleCellNameType.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/composites/AbstractSimpleCellNameType.java b/src/java/org/apache/cassandra/db/composites/AbstractSimpleCellNameType.java
index f9c9641..b3f4778 100644
--- a/src/java/org/apache/cassandra/db/composites/AbstractSimpleCellNameType.java
+++ b/src/java/org/apache/cassandra/db/composites/AbstractSimpleCellNameType.java
@@ -86,7 +86,6 @@ public abstract class AbstractSimpleCellNameType extends AbstractCellNameType
     {
         ByteBuffer b1 = c1.toByteBuffer();
         ByteBuffer b2 = c2.toByteBuffer();
-        assert b1.hasRemaining() & b2.hasRemaining();
         return ByteBufferUtil.compareUnsigned(b1, b2);
     }
 


Mime
View raw message