jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1197238 - /incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/algebra/AlgebraQuad.java
Date Thu, 03 Nov 2011 17:42:23 GMT
Author: andy
Date: Thu Nov  3 17:42:22 2011
New Revision: 1197238

URL: http://svn.apache.org/viewvc?rev=1197238&view=rev
Log: (empty)

Modified:
    incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/algebra/AlgebraQuad.java

Modified: incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/algebra/AlgebraQuad.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/algebra/AlgebraQuad.java?rev=1197238&r1=1197237&r2=1197238&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/algebra/AlgebraQuad.java
(original)
+++ incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/algebra/AlgebraQuad.java
Thu Nov  3 17:42:22 2011
@@ -100,19 +100,19 @@ public class AlgebraQuad extends Transfo
              * and check on exit.
              * (This is what QueryIterGraph does using a streaming join)
              */
-//            // << JENA-154
-//            
-//            // PROBLEM - op is already quads by this point.
-//            // Oops.
-//            
-//            Node gn = getNode() ;
-//            if ( Var.isVar(gn) )
-//            {
-//                Collection<Var> vars = OpVars.allVars(op) ;
+            // << JENA-154
+
+            // Note: op is already quads by this point.
+            // Must test scoping by the subOp of GRAPH
+            
+            Node gn = getNode() ;
+            if ( Var.isVar(gn) )
+            {
+                Collection<Var> vars = OpVars.allVars(opGraph.getSubOp()) ;
 //                if ( vars.contains(gn) )
 //                    Log.warn(this, "Use of GRAPH var in pattern") ;
-//            }
-//            // >> JENA-154
+            }
+            // >> JENA-154
             
             if ( OpBGP.isBGP(op) )
             {



Mime
View raw message