MySQL  8.0.27
Source Code Documentation
keycaches.cc File Reference
#include "sql/keycaches.h"
#include "m_string.h"
#include "my_dbug.h"
#include "mysys/mysys_priv.h"
#include "template_utils.h"

Functions

static ucharfind_named (I_List< NAMED_ILINK > *list, const char *name, size_t length, NAMED_ILINK **found)
 
KEY_CACHEget_key_cache (const LEX_CSTRING *cache_name)
 
KEY_CACHEcreate_key_cache (const char *name, size_t length)
 
KEY_CACHEget_or_create_key_cache (const char *name, size_t length)
 
bool process_key_caches (process_key_cache_t func)
 

Variables

NAMED_ILIST key_caches
 
LEX_CSTRING default_key_cache_base = {STRING_WITH_LEN("default")}
 
KEY_CACHE zero_key_cache
 @nonexistent_cache.param->value_ptr() points here More...
 

Function Documentation

◆ create_key_cache()

KEY_CACHE* create_key_cache ( const char *  name,
size_t  length 
)

◆ find_named()

static uchar* find_named ( I_List< NAMED_ILINK > *  list,
const char *  name,
size_t  length,
NAMED_ILINK **  found 
)
static

◆ get_key_cache()

KEY_CACHE* get_key_cache ( const LEX_CSTRING cache_name)

◆ get_or_create_key_cache()

KEY_CACHE* get_or_create_key_cache ( const char *  name,
size_t  length 
)

◆ process_key_caches()

bool process_key_caches ( process_key_cache_t  func)

Variable Documentation

◆ default_key_cache_base

LEX_CSTRING default_key_cache_base = {STRING_WITH_LEN("default")}

◆ key_caches

NAMED_ILIST key_caches

◆ zero_key_cache

KEY_CACHE zero_key_cache

@nonexistent_cache.param->value_ptr() points here