jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1517774 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/OrImpl.java
Date Tue, 27 Aug 2013 10:00:05 GMT
Author: alexparvulescu
Date: Tue Aug 27 10:00:05 2013
New Revision: 1517774

URL: http://svn.apache.org/r1517774
Log:
OAK-882 Query: support conditions of type "property in(value1, value2)"
 - fixed typo in variable name that could cause OOME when dealing with queries that have a
large number of OR predicates

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/OrImpl.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/OrImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/OrImpl.java?rev=1517774&r1=1517773&r2=1517774&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/OrImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/OrImpl.java
Tue Aug 27 10:00:05 2013
@@ -94,7 +94,7 @@ public class OrImpl extends ConstraintIm
     @Override
     public Set<SelectorImpl> getSelectors() {
         Set<SelectorImpl> s1 = constraint1.getSelectors();
-        Set<SelectorImpl> s2 = constraint1.getSelectors();
+        Set<SelectorImpl> s2 = constraint2.getSelectors();
         if (s1.isEmpty()) {
             return s2;
         } else if (s2.isEmpty()) {



Mime
View raw message