xtern commented on code in PR #2906:
URL: https://github.com/apache/ignite-3/pull/2906#discussion_r1431019035


##########
modules/jdbc/src/main/java/org/apache/ignite/internal/jdbc/JdbcStatement.java:
##########
@@ -472,7 +462,7 @@ public boolean getMoreResults(int curr) throws SQLException 
{
             switch (curr) {
                 case CLOSE_CURRENT_RESULT:
                     if (curRes > 0) {
-                        resSets.get(curRes - 1).close0();
+                        resSets.get(curRes - 1).close0(false);

Review Comment:
   Yes you are right. I missed this.
   But as I see, now - getNextResultSet() already closes resultset with 
enforce=true, why we need this second call here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to