yiguolei commented on code in PR #46929:
URL: https://github.com/apache/doris/pull/46929#discussion_r1914212726


##########
be/src/runtime/query_context.h:
##########
@@ -309,6 +309,10 @@ class QueryContext : public 
std::enable_shared_from_this<QueryContext> {
 
     bool low_memory_mode() { return _low_memory_mode; }
 
+    void disable_reserve_memory() { _enable_reserve_memory = false; }
+
+    bool enable_reserve_memory() { return _enable_reserve_memory; }

Review Comment:
   return _query_options.__isset.enable_reserve_memory && 
_query_options.enable_reserve_memory &&
              _enable_reserve_memory;



-- 
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