You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2021/11/09 02:00:27 UTC

[incubator-doris] branch master updated: [Bug] fix Log tags empty reference core dump (#7043)

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

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new fc62090  [Bug] fix Log tags empty reference core dump (#7043)
fc62090 is described below

commit fc62090558a5c25cda969504ae7bf7a7639b4de2
Author: Pxl <95...@qq.com>
AuthorDate: Tue Nov 9 10:00:08 2021 +0800

    [Bug] fix Log tags empty reference core dump (#7043)
    
    key may have been destructed when key reference is called.
---
 be/src/util/logging.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/util/logging.h b/be/src/util/logging.h
index ab23922..712cbdb 100644
--- a/be/src/util/logging.h
+++ b/be/src/util/logging.h
@@ -137,7 +137,7 @@ private:
     std::string _message;
 
     struct Tags {
-        const std::string& key;
+        const std::string key;
         const std::string value;
         Tags* next;
 

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