This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 5271042a7da59fe42dedd421d45a9fd405a332a2 Author: yiguolei <[email protected]> AuthorDate: Wed May 8 21:56:56 2024 +0800 [bugfix](gccompile) fix gcc compile error (#34546) Co-authored-by: yiguolei <[email protected]> --- be/src/service/doris_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/service/doris_main.cpp b/be/src/service/doris_main.cpp index 38b8ba21d77..52469ac1081 100644 --- a/be/src/service/doris_main.cpp +++ b/be/src/service/doris_main.cpp @@ -308,7 +308,7 @@ int main(int argc, char** argv) { doris::signal::InstallFailureSignalHandler(); // create StackTraceCache Instance, at the beginning, other static destructors may use. StackTrace::createCache(); - extern doris::ErrorCode::ErrorCodeInitializer error_code_init; + // extern doris::ErrorCode::ErrorCodeInitializer error_code_init; // Some developers will modify status.h and we use a very ticky logic to init error_states // and it maybe not inited. So add a check here. doris::ErrorCode::error_code_init.check_init(); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
