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