You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by db...@apache.org on 2017/01/28 05:38:53 UTC

cassandra git commit: fix table id comparison

Repository: cassandra
Updated Branches:
  refs/heads/trunk 8c504a0b8 -> 03662bb36


fix table id comparison


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

Branch: refs/heads/trunk
Commit: 03662bb360a3cc3ab052083285de7c12adeee2bb
Parents: 8c504a0
Author: Dave Brosius <db...@mebigfatguy.com>
Authored: Sat Jan 28 00:38:37 2017 -0500
Committer: Dave Brosius <db...@mebigfatguy.com>
Committed: Sat Jan 28 00:38:37 2017 -0500

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/03662bb3/src/java/org/apache/cassandra/schema/Views.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/schema/Views.java b/src/java/org/apache/cassandra/schema/Views.java
index 6578b14..5765433 100644
--- a/src/java/org/apache/cassandra/schema/Views.java
+++ b/src/java/org/apache/cassandra/schema/Views.java
@@ -73,7 +73,7 @@ public final class Views implements Iterable<ViewMetadata>
 
     public Iterable<ViewMetadata> forTable(UUID tableId)
     {
-        return Iterables.filter(this, v -> v.baseTableId.equals(tableId));
+        return Iterables.filter(this, v -> v.baseTableId.asUUID().equals(tableId));
     }
 
     /**