summaryrefslogtreecommitdiff
path: root/mysys/my_malloc.c
diff options
context:
space:
mode:
authorAlexander Kuleshov <kuleshovmail@gmail.com>2023-01-05 14:06:01 +0600
committerDaniel Black <daniel@mariadb.org>2023-01-06 07:20:37 +1100
commitd0a534d293edbb1d5345616e3052c0f9b94260a8 (patch)
tree6767450368e60b038b150f3bcfb2df86638a2bf5 /mysys/my_malloc.c
parent494acc19388c7d7f744ebc036cae1329e46101bb (diff)
downloadmariadb-git-d0a534d293edbb1d5345616e3052c0f9b94260a8.tar.gz
Fix synopses in mysys APIs
Since 7c58e97 the PSI_memory_key was added to some routines in the mysys/. This commit fixes synopses of functions that were updated with the PSI_memory_key parameter.
Diffstat (limited to 'mysys/my_malloc.c')
-rw-r--r--mysys/my_malloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mysys/my_malloc.c b/mysys/my_malloc.c
index befdcb0e5c3..c32831ed20d 100644
--- a/mysys/my_malloc.c
+++ b/mysys/my_malloc.c
@@ -59,6 +59,7 @@ void set_malloc_size_cb(MALLOC_SIZE_CB func)
/**
Allocate a sized block of memory.
+ @param key Key to register instrumented memory
@param size The size of the memory block in bytes.
@param flags Failure action modifiers (bitmasks).
@@ -120,7 +121,8 @@ void *my_malloc(PSI_memory_key key, size_t size, myf my_flags)
/**
@brief wrapper around realloc()
- @param old_point pointer to currently allocated area
+ @param key key to register instrumented memory
+ @param old_point pointer to currently allocated area
@param size new size requested, must be >0
@param my_flags flags