MySQL 8.0.39
Source Code Documentation
mysql_malloc_service_st Struct Reference

This service allows plugins to allocate and free memory through the server's memory handling routines. More...

#include <service_mysql_alloc.h>

Public Attributes

mysql_malloc_t mysql_malloc
 Allocates a block of memory. More...
 
mysql_realloc_t mysql_realloc
 Reallocates a block of memory. More...
 
mysql_claim_t mysql_claim
 Re-instruments a block of memory. More...
 
mysql_free_t mysql_free
 Frees a block of memory. More...
 
my_memdup_t my_memdup
 Copies a buffer into a new buffer. More...
 
my_strdup_t my_strdup
 Copies a string into a new buffer. More...
 
my_strndup_t my_strndup
 Copies no more than n characters of a string into a new buffer. More...
 

Detailed Description

This service allows plugins to allocate and free memory through the server's memory handling routines.

This allows uniform memory handling and instrumentation.

Member Data Documentation

◆ my_memdup

my_memdup_t mysql_malloc_service_st::my_memdup

Copies a buffer into a new buffer.

See also
my_memdup

◆ my_strdup

my_strdup_t mysql_malloc_service_st::my_strdup

Copies a string into a new buffer.

See also
my_strdup

◆ my_strndup

my_strndup_t mysql_malloc_service_st::my_strndup

Copies no more than n characters of a string into a new buffer.

See also
my_strndup

◆ mysql_claim

mysql_claim_t mysql_malloc_service_st::mysql_claim

Re-instruments a block of memory.

See also
my_claim

◆ mysql_free

mysql_free_t mysql_malloc_service_st::mysql_free

Frees a block of memory.

See also
my_free

◆ mysql_malloc

mysql_malloc_t mysql_malloc_service_st::mysql_malloc

Allocates a block of memory.

See also
my_malloc

◆ mysql_realloc

mysql_realloc_t mysql_malloc_service_st::mysql_realloc

Reallocates a block of memory.

See also
my_realloc

The documentation for this struct was generated from the following file: