korlov42 commented on code in PR #3798:
URL: https://github.com/apache/ignite-3/pull/3798#discussion_r1611168774


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/SqlQueryProcessor.java:
##########
@@ -500,9 +501,13 @@ public CompletableFuture<AsyncSqlCursor<InternalSqlRow>> 
queryAsync(
             SqlProperties properties0 = SqlPropertiesHelper.chain(properties, 
DEFAULT_PROPERTIES);
 
             if (Commons.isMultiStatementQueryAllowed(properties0)) {
-                return queryScript(properties0, new 
QueryTransactionContext(transactions, transaction), qry, params);
+                return queryScript(
+                        properties0, new 
QueryTransactionContextImpl(txManager, observableTimeTracker, transaction), 
qry, params
+                );
             } else {
-                return querySingle(properties0, new 
QueryTransactionContext(transactions, transaction), qry, params);
+                return querySingle(
+                        properties0, new 
QueryTransactionContextImpl(txManager, observableTimeTracker, transaction), 
qry, params
+                );

Review Comment:
   good point, fixed



-- 
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