MySQL 9.1.0
Source Code Documentation
|
Implementation of MEM_ROOT. More...
#include <stdarg.h>
#include <string.h>
#include <sys/types.h>
#include <algorithm>
#include <iterator>
#include "my_alloc.h"
#include "my_compiler.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_pointer_arithmetic.h"
#include "my_sys.h"
#include "mysql/service_mysql_alloc.h"
#include "mysys_err.h"
#include "template_utils.h"
Functions | |
void * | multi_alloc_root (MEM_ROOT *root,...) |
char * | strdup_root (MEM_ROOT *root, const char *str) |
char * | safe_strdup_root (MEM_ROOT *root, const char *str) |
char * | strmake_root (MEM_ROOT *root, const char *str, size_t len) |
void * | memdup_root (MEM_ROOT *root, const void *str, size_t len) |
Variables | |
static constexpr bool | MEM_ROOT_SINGLE_CHUNKS = false |
Implementation of MEM_ROOT.
This file follows Google coding style.
|
staticconstexpr |