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 (backport #34564) (#34755)

Co-authored-by: meegoo <meegoo.sr@gmail.com>
  • Loading branch information
mergify[bot] and meegoo committed Nov 10, 2023
1 parent 4b044b2 commit f443bad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,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 f443bad

Please sign in to comment.