alex-plekhanov commented on a change in pull request #8821:
URL: https://github.com/apache/ignite/pull/8821#discussion_r581893998
##########
File path:
modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/IgniteH2Indexing.java
##########
@@ -1574,14 +1589,31 @@ private Long registerRunningQuery(QueryDescriptor
qryDesc, QueryParameters qryPa
ctx.event().record(new SqlQueryExecutionEvent(
ctx.discovery().localNode(),
GridCacheQueryType.SQL_FIELDS.name() + " query execution.",
- qryDesc.sql(),
+ qry,
qryParams.arguments(),
ctx.security().enabled() ?
ctx.security().securityContext().subject().id() : null));
}
return res;
}
+ /**
+ * @param stmnt Statement to print.
+ * @return SQL query where constant replaced with '?' char.
+ * @see GridSqlConst#getSQL()
+ * @see GridSqlStatement#secureOutputToLog()
Review comment:
Wrong reference
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]