Skip to content

Commit

Permalink
[BugFix] Fix unexpectedly modification that broker load obtains profi…
Browse files Browse the repository at this point in the history
…le (#34564)

Signed-off-by: meegoo <meegoo.sr@gmail.com>
  • Loading branch information
meegoo authored Nov 10, 2023
1 parent d92f2a8 commit 74600ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ private void executeOnce() throws Exception {
long beginTimeInNanoSecond = TimeUtils.getStartTime();
actualExecute(curCoordinator);

if (context.getSessionVariable().isEnableLoadProfile()) {
if (context.getSessionVariable().isEnableProfile()) {
RuntimeProfile profile = new RuntimeProfile("Load");
RuntimeProfile summaryProfile = new RuntimeProfile("Summary");
summaryProfile.addInfoString(ProfileManager.QUERY_ID, DebugUtil.printId(context.getExecutionId()));
Expand Down

0 comments on commit 74600ce

Please sign in to comment.