xinyiZzz commented on code in PR #47784:
URL: https://github.com/apache/doris/pull/47784#discussion_r1952372467


##########
be/src/runtime/load_channel.cpp:
##########
@@ -48,9 +48,9 @@ LoadChannel::LoadChannel(const UniqueId& load_id, int64_t 
timeout_s, bool is_hig
             
ExecEnv::GetInstance()->fragment_mgr()->get_query_ctx(_load_id.to_thrift());
 
     if (query_context != nullptr) {
-        _resource_ctx = query_context->resource_ctx;
+        _resource_ctx = query_context->resource_ctx();
     } else {
-        _resource_ctx = ResourceContext::create_shared();
+        _resource_ctx = ResourceContext::create_shared_obj();

Review Comment:
   因为 ENABLE_FACTORY_CREATOR 后已经有 create_shared 方法了,所以改了个名



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