zhiqiang-hhhh commented on code in PR #34720:
URL: https://github.com/apache/doris/pull/34720#discussion_r1597435125


##########
be/src/runtime/runtime_query_statistics_mgr.cpp:
##########
@@ -126,15 +134,16 @@ TReportExecStatusParams 
RuntimeQueryStatiticsMgr::create_report_exec_status_para
             }
 
             TDetailedReportParams tmp;
-            tmp.__set_profile(*pipeline_profile);
+            tmp.__isset.profile = true;
+            tmp.profile = std::move(*pipeline_profile);

Review Comment:
   does this move safe? the original object will be broken



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to