This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 3531f4b73f5 branch-4.0: [fix](tde) make get_exec_env interface static
#56820 (#56903)
3531f4b73f5 is described below
commit 3531f4b73f5659db05f5619da82d19aa5dcf2f05
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Oct 14 12:04:38 2025 +0800
branch-4.0: [fix](tde) make get_exec_env interface static #56820 (#56903)
Cherry-picked from #56820
Co-authored-by: Luwei <[email protected]>
---
be/src/util/thrift_rpc_helper.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/util/thrift_rpc_helper.h b/be/src/util/thrift_rpc_helper.h
index a0a73ad483b..cf876990e6e 100644
--- a/be/src/util/thrift_rpc_helper.h
+++ b/be/src/util/thrift_rpc_helper.h
@@ -47,7 +47,7 @@ public:
static Status rpc(const std::string& ip, const int32_t port,
std::function<void(ClientConnection<T>&)> callback, int
timeout_ms);
- ExecEnv* get_exec_env() { return _s_exec_env; }
+ static ExecEnv* get_exec_env() { return _s_exec_env; }
private:
static ExecEnv* _s_exec_env;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]