MySQL  8.0.27
Source Code Documentation
keycaches.h File Reference
#include <string.h>
#include "keycache.h"
#include "lex_string.h"
#include "my_inttypes.h"
#include "my_sys.h"
#include "mysql/service_mysql_alloc.h"
#include "sql/sql_list.h"
#include "sql/thr_malloc.h"

Go to the source code of this file.

Classes

class  NAMED_ILINK
 ilink (intrusive list element) with a name More...
 
class  NAMED_ILIST
 

Typedefs

typedef int(* process_key_cache_t) (const char *, KEY_CACHE *)
 

Functions

KEY_CACHEcreate_key_cache (const char *name, size_t length)
 
KEY_CACHEget_key_cache (const LEX_CSTRING *cache_name)
 
KEY_CACHEget_or_create_key_cache (const char *name, size_t length)
 
bool process_key_caches (process_key_cache_t func)
 

Variables

PSI_memory_key key_memory_NAMED_ILINK_name
 
LEX_CSTRING default_key_cache_base
 
KEY_CACHE zero_key_cache
 @nonexistent_cache.param->value_ptr() points here More...
 
NAMED_ILIST key_caches
 

Typedef Documentation

◆ process_key_cache_t

typedef int(* process_key_cache_t) (const char *, KEY_CACHE *)

Function Documentation

◆ create_key_cache()

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

◆ 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
extern

◆ key_caches

NAMED_ILIST key_caches
extern

◆ key_memory_NAMED_ILINK_name

PSI_memory_key key_memory_NAMED_ILINK_name
extern

◆ zero_key_cache

KEY_CACHE zero_key_cache
extern

@nonexistent_cache.param->value_ptr() points here