Skip to content

Commit

Permalink
[fix](auditlog) set isQuery to true when query is short circuited (ap…
Browse files Browse the repository at this point in the history
  • Loading branch information
eldenmoon committed Nov 4, 2024
1 parent df2ea71 commit 8ea1be7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1898,6 +1898,7 @@ public void executeAndSendResult(boolean isOutfileQuery, boolean isSendFields,
: 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(),
Expand Down

0 comments on commit 8ea1be7

Please sign in to comment.