diff options
author | unknown <heikki@hundin.mysql.fi> | 2004-06-17 17:30:33 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2004-06-17 17:30:33 +0300 |
commit | 6646140f390505c9ae58d7667a09c644f0d08713 (patch) | |
tree | 3eb0b2ea76104601aaeb7b94c6bea54db575e686 /innobase/include | |
parent | 1ebf24b9576a3b2b70b742759c2e160215c895ce (diff) | |
download | mariadb-git-6646140f390505c9ae58d7667a09c644f0d08713.tar.gz |
mem0dbg.h, mem0dbg.c:
Put back mem_print_info() functions that are used to analyze memory leaks; Marko removed them by accident in his Feb 20th, 2004 patch; these functions are very important for debugging, and should always be kept in the source code base
innobase/mem/mem0dbg.c:
Put back mem_print_info() functions that are used to analyze memory leaks; Marko removed them by accident in his Feb 20th, 2004 patch; these functions are very important for debugging, and should always be kept in the source code base
innobase/include/mem0dbg.h:
Put back mem_print_info() functions that are used to analyze memory leaks; Marko removed them by accident in his Feb 20th, 2004 patch; these functions are very important for debugging, and should always be kept in the source code base
Diffstat (limited to 'innobase/include')
-rw-r--r-- | innobase/include/mem0dbg.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/innobase/include/mem0dbg.h b/innobase/include/mem0dbg.h index 6c92d669be3..96f30842df6 100644 --- a/innobase/include/mem0dbg.h +++ b/innobase/include/mem0dbg.h @@ -116,4 +116,17 @@ void mem_analyze_corruption( /*===================*/ byte* ptr); /* in: pointer to place of possible corruption */ +/********************************************************************* +Prints information of dynamic memory usage and currently allocated memory +heaps or buffers. Can only be used in the debug version. */ +void +mem_print_info(void); +/*================*/ +/********************************************************************* +Prints information of dynamic memory usage and currently allocated memory +heaps or buffers since the last ..._print_info or..._print_new_info. */ + +void +mem_print_new_info(void); +/*====================*/ |