Updated Branches:
  refs/heads/trunk 0ad499e9a -> d106950ec

Dont throw UOE when calling shouldInclude in NamesQueryFilter - include all 
files instead


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

Branch: refs/heads/trunk
Commit: d106950ec049fc7dfef7e64b124dc8c050b06af4
Parents: 0ad499e
Author: Marcus Eriksson <marc...@spotify.com>
Authored: Fri May 24 18:54:59 2013 +0200
Committer: Marcus Eriksson <marc...@spotify.com>
Committed: Fri May 24 18:54:59 2013 +0200

----------------------------------------------------------------------
 .../cassandra/db/filter/NamesQueryFilter.java      |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/d106950e/src/java/org/apache/cassandra/db/filter/NamesQueryFilter.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/filter/NamesQueryFilter.java 
b/src/java/org/apache/cassandra/db/filter/NamesQueryFilter.java
index caddb0e..570eb29 100644
--- a/src/java/org/apache/cassandra/db/filter/NamesQueryFilter.java
+++ b/src/java/org/apache/cassandra/db/filter/NamesQueryFilter.java
@@ -144,8 +144,7 @@ public class NamesQueryFilter implements IDiskAtomFilter
 
     public boolean shouldInclude(SSTableReader sstable)
     {
-        // only called by collationcontroller for slice queries
-        throw new UnsupportedOperationException();
+        return true;
     }
 
     public static class Serializer implements 
IVersionedSerializer<NamesQueryFilter>

Reply via email to