MySQL 8.0.40
Source Code Documentation
|
#include "sql/keycaches.h"
#include "m_string.h"
#include "my_dbug.h"
#include "mysys/mysys_priv.h"
#include "template_utils.h"
Functions | |
static uchar * | find_named (I_List< NAMED_ILINK > *list, std::string_view name, NAMED_ILINK **found) |
KEY_CACHE * | get_key_cache (std::string_view cache_name) |
Resolve a MyISAM Multiple Key Cache by name. More... | |
KEY_CACHE * | create_key_cache (std::string_view name) |
Create a MyISAM Multiple Key Cache. More... | |
KEY_CACHE * | get_or_create_key_cache (std::string_view name) |
Resolve an existent MyISAM Multiple Key Cache by name, otherwise create a new one. More... | |
bool | process_key_caches (process_key_cache_t func) |
Variables | |
NAMED_ILIST | key_caches |
const LEX_CSTRING | default_key_cache_base = {STRING_WITH_LEN("default")} |
KEY_CACHE | zero_key_cache |
@nonexistent_cache.param->value_ptr() points here More... | |
KEY_CACHE * create_key_cache | ( | std::string_view | name | ) |
Create a MyISAM Multiple Key Cache.
name | Cache name (case insensitive, system character set). |
|
static |
KEY_CACHE * get_key_cache | ( | std::string_view | cache_name | ) |
Resolve a MyISAM Multiple Key Cache by name.
cache_name | Cache name (case insensitive, system character set). |
KEY_CACHE * get_or_create_key_cache | ( | std::string_view | name | ) |
Resolve an existent MyISAM Multiple Key Cache by name, otherwise create a new one.
name | Cache name (case insensitive, system character set) |
bool process_key_caches | ( | process_key_cache_t | func | ) |
const LEX_CSTRING default_key_cache_base = {STRING_WITH_LEN("default")} |
NAMED_ILIST key_caches |
KEY_CACHE zero_key_cache |
@nonexistent_cache.param->value_ptr() points here