This is an automated email from the ASF dual-hosted git repository.

eldenmoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 05c2fcb1611 [fix](auditlog) set isQuery to true when query is short 
circuited (#42647)
05c2fcb1611 is described below

commit 05c2fcb1611812b4a57e360eeae591c20d041128
Author: lihangyu <[email protected]>
AuthorDate: Fri Nov 1 16:02:57 2024 +0800

    [fix](auditlog) set isQuery to true when query is short circuited (#42647)
---
 fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java 
b/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
index 1726e85fb73..494232ef38c 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
@@ -1912,6 +1912,7 @@ public class StmtExecutor {
                                 : new ShortCircuitQueryContext(planner, 
(Queriable) parsedStmt);
             coordBase = new PointQueryExecutor(shortCircuitQueryContext,
                         
context.getSessionVariable().getMaxMsgSizeOfResultReceiver());
+            context.getState().setIsQuery(true);
         } else if (planner instanceof NereidsPlanner && ((NereidsPlanner) 
planner).getDistributedPlans() != null) {
             coord = new NereidsCoordinator(context, analyzer,
                     planner, context.getStatsErrorEstimator(),


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to