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


##########
modules/sql-engine/src/integrationTest/java/org/apache/ignite/internal/sql/engine/BaseSqlMultiStatementTest.java:
##########
@@ -123,13 +118,17 @@ protected List<AsyncSqlCursor<InternalSqlRow>> 
fetchCursors(AsyncSqlCursor<Inter
 
             cursors.add(cursor);
 
-            if (close) {
-                cursor.closeAsync();
-            } else {
+            if (!close) {
                 cursorsToClose.add(cursor);
             }
         }
 

Review Comment:
   The loop already has this condition.
   We can iterate not all cursors.
   



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to