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 7b22c9425551992d15fbf8335deff2d7ff424270
Author: yiguolei <676222...@qq.com>
AuthorDate: Wed May 8 14:07:30 2024 +0800

    [bugfix](compile error) unused variables compile error (#34509)
    
    * [bugfix](compile error) unused variables compile error
    
    * f
    
    ---------
    
    Co-authored-by: yiguolei <yiguo...@gmail.com>
---
 be/src/common/status.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/be/src/common/status.h b/be/src/common/status.h
index 58bd7270b89..b0c9433cfac 100644
--- a/be/src/common/status.h
+++ b/be/src/common/status.h
@@ -361,7 +361,9 @@ public:
     void check_init() {
         //the signal value is 0, it means the global error states not inited, 
it's logical error
         // DO NOT use dcheck here, because dcheck depend on glog, and glog 
maybe not inited at this time.
-        assert(signal_value != 0);
+        if (signal_value == 0) {
+            exit(-1);
+        }
     }
 
 private:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to