Skip to content

Commit

Permalink
[fix](auditlog) set isQuery to true when query is short circuited
Browse files Browse the repository at this point in the history
  • Loading branch information
eldenmoon committed Oct 28, 2024
1 parent 4bb7139 commit 7319593
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1906,6 +1906,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 7319593

Please sign in to comment.