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 table id comparison
Date Sat, 28 Jan 2017 05:38:53 GMT
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 <dbrosius@mebigfatguy.com>
Authored: Sat Jan 28 00:38:37 2017 -0500
Committer: Dave Brosius <dbrosius@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));
     }
 
     /**


Mime
View raw message