cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject cassandra git commit: fix typo introduced in #12142, regarding version constants
Date Thu, 04 Aug 2016 03:47:27 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk f531c67d6 -> 0e23d175a


fix typo introduced in #12142, regarding version constants


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

Branch: refs/heads/trunk
Commit: 0e23d175ae0538e2360d1f18f30619d537d82ed2
Parents: f531c67
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Wed Aug 3 23:47:12 2016 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Wed Aug 3 23:47:12 2016 -0400

----------------------------------------------------------------------
 src/java/org/apache/cassandra/transport/Event.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/0e23d175/src/java/org/apache/cassandra/transport/Event.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/transport/Event.java b/src/java/org/apache/cassandra/transport/Event.java
index 232d817..618d722 100644
--- a/src/java/org/apache/cassandra/transport/Event.java
+++ b/src/java/org/apache/cassandra/transport/Event.java
@@ -345,7 +345,7 @@ public abstract class Event
         {
             if (target == Target.FUNCTION || target == Target.AGGREGATE)
             {
-                if (version >= Server.VERSION_3)
+                if (version >= Server.VERSION_4)
                     return CBUtil.sizeOfEnumValue(change)
                                + CBUtil.sizeOfEnumValue(target)
                                + CBUtil.sizeOfString(keyspace)


Mime
View raw message