mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
MDEV-14315 -- Reflect use of tcmalloc in a system variable and error log
* The version of tcmalloc is written to the system variable
'version_malloc_library' if tcmalloc is used, similarly to
jemalloc
* Extracted method guess_malloc_library()
This commit is contained in:
parent
0acac4fe5f
commit
7fd7805574
4 changed files with 68 additions and 22 deletions
|
|
@ -154,6 +154,8 @@ typedef struct my_aio_result {
|
|||
/* Extra length needed for filename if one calls my_create_backup_name */
|
||||
#define MY_BACKUP_NAME_EXTRA_LENGTH 17
|
||||
|
||||
char *guess_malloc_library();
|
||||
|
||||
/* If we have our own safemalloc (for debugging) */
|
||||
#if defined(SAFEMALLOC)
|
||||
void sf_report_leaked_memory(my_thread_id id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue