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

yiguolei pushed a commit to branch spill_and_reserve
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 0a35a87bfca393e928c9423b34491e628904a7e6
Author: yiguolei <676222...@qq.com>
AuthorDate: Wed Sep 18 17:54:59 2024 +0800

    [bugfix](core) fmt lost one parameter (#40914)
    
    ## Proposed changes
    
    bug is introduced by https://github.com/apache/doris/pull/40542
    
    <!--Describe your changes.-->
    
    ---------
    
    Co-authored-by: yiguolei <yiguo...@gmail.com>
---
 be/src/runtime/memory/mem_tracker.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/runtime/memory/mem_tracker.h 
b/be/src/runtime/memory/mem_tracker.h
index 9ea11fa8696..82b05fe544a 100644
--- a/be/src/runtime/memory/mem_tracker.h
+++ b/be/src/runtime/memory/mem_tracker.h
@@ -45,7 +45,7 @@ public:
 
     const std::string& label() const { return _label; }
     std::string log_usage() const {
-        return fmt::format("MemTracker Lame={}, Used={}({} B), Peak={}({} B)",
+        return fmt::format("MemTracker name={}, Used={}({} B), Peak={}({} B)", 
_label,
                            MemCounter::print_bytes(consumption()), 
consumption(),
                            MemCounter::print_bytes(peak_consumption()), 
peak_consumption());
     }


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

Reply via email to