Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Apr 17, 2024
1 parent 4ef9dd8 commit ad4c26a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1837,8 +1837,7 @@ private void sendResult(boolean isOutfileQuery, boolean isSendFields, Queriable
return;
}

boolean isDryRun = ConnectContext.get().getSessionVariable().dryRunQuery;

boolean isDryRun = ConnectContext.get() != null && ConnectContext.get().getSessionVariable().dryRunQuery;
while (true) {
// register the fetch result time.
profile.getSummaryProfile().setTempStartTime();
Expand Down

0 comments on commit ad4c26a

Please sign in to comment.