[ 
https://issues.apache.org/jira/browse/JENA-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102341#comment-13102341
 ] 

Paolo Castagna commented on JENA-114:
-------------------------------------

Is this the problem?

Index: src/com/hp/hpl/jena/sparql/engine/iterator/QueryIterTopN.java
===================================================================
--- src/com/hp/hpl/jena/sparql/engine/iterator/QueryIterTopN.java       
(revision 1169513)
+++ src/com/hp/hpl/jena/sparql/engine/iterator/QueryIterTopN.java       
(working copy)
@@ -72,6 +72,7 @@
             // Keep Java happy. 
             Iterator<Binding> iter0 = Iter.nullIterator() ; 
             setIterator(iter0) ;
+            qIter.close() ;
             return ;
         }
         


> Enabling slice(0,N)-project-order optimization cause "open iterator" warnings.
> ------------------------------------------------------------------------------
>
>                 Key: JENA-114
>                 URL: https://issues.apache.org/jira/browse/JENA-114
>             Project: Jena
>          Issue Type: Bug
>            Reporter: Andy Seaborne
>            Priority: Minor
>
> In TransformTopN, enabling the optimization for slice(0,N)-project-order 
> optimization cause "open iterator" warnings from test  "Solution Sequence" / 
> "Limit 3".

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to