You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/01/27 13:43:47 UTC

[GitHub] [incubator-doris] caiconghui commented on a change in pull request #5244: [Auidt] Fix bug for that only the last statement can be audited when user send multi-statement

caiconghui commented on a change in pull request #5244:
URL: https://github.com/apache/incubator-doris/pull/5244#discussion_r565317252



##########
File path: fe/fe-core/src/main/java/org/apache/doris/qe/ConnectProcessor.java
##########
@@ -180,9 +182,12 @@ private void handleQuery() {
 
         // execute this query.
         StatementBase parsedStmt = null;
+        List<Pair<StatementBase, PQueryStatistics>> auditInfoList = Lists.newArrayList();
+        boolean alreadyAddedToAuditInfoList = false;

Review comment:
       if some statement execute failed before added to auditInfoList, we should try to record it




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org