This is an automated email from the ASF dual-hosted git repository.

morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new f2d0de2f0d8 branch-3.1: [fix](tde) make get_exec_env interface static 
#56820 (#56902)
f2d0de2f0d8 is described below

commit f2d0de2f0d8903cabb1fb6324bfb1ae54225b687
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Oct 15 11:06:08 2025 +0800

    branch-3.1: [fix](tde) make get_exec_env interface static #56820 (#56902)
    
    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]

Reply via email to