github-actions[bot] commented on code in PR #33422:
URL: https://github.com/apache/doris/pull/33422#discussion_r1557146395


##########
be/src/runtime/memory/thread_mem_tracker_mgr.h:
##########
@@ -88,6 +88,10 @@ class ThreadMemTrackerMgr {
 
     bool is_attach_query() { return _query_id != TUniqueId(); }
 
+    bool is_query_cancelled() { return _is_query_cancelled; }

Review Comment:
   warning: method 'is_query_cancelled' can be made const 
[readability-make-member-function-const]
   
   ```suggestion
       bool is_query_cancelled() const { return _is_query_cancelled; }
   ```
   



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to