1#ifndef KEYCACHES_INCLUDED
2#define KEYCACHES_INCLUDED
ilink (intrusive list element) with a name
Definition: keycaches.h:42
bool cmp(const char *name_cmp, size_t length)
Definition: keycaches.h:53
NAMED_ILINK(I_List< NAMED_ILINK > *links, const std::string_view &name_arg, uchar *data_arg)
Definition: keycaches.h:47
const std::string name
case-sensitive, system character set
Definition: keycaches.h:44
uchar * data
Definition: keycaches.h:45
Definition: keycaches.h:58
void delete_elements()
Definition: keycaches.cc:50
void push_back(T *a)
Pushes new element to the end of the list, i.e. in front of the sentinel.
Definition: sql_list.h:808
Definition: sql_list.h:738
Key cache variable structures.
NAMED_ILIST key_caches
Definition: keycaches.cc:35
const LEX_CSTRING default_key_cache_base
Definition: keycaches.cc:63
int(* process_key_cache_t)(std::string_view, KEY_CACHE *)
Definition: keycaches.h:37
bool process_key_caches(process_key_cache_t func)
Definition: keycaches.cc:110
KEY_CACHE * create_key_cache(std::string_view name)
Create a MyISAM Multiple Key Cache.
Definition: keycaches.cc:76
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.
Definition: keycaches.cc:103
KEY_CACHE * get_key_cache(std::string_view cache_name)
Resolve a MyISAM Multiple Key Cache by name.
Definition: keycaches.cc:68
KEY_CACHE zero_key_cache
@nonexistent_cache.param->value_ptr() points here
Definition: keycaches.cc:66
Some integer typedefs for easier portability.
unsigned char uchar
Definition: my_inttypes.h:52
Common header for many mysys elements.
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:76
case opt name
Definition: sslopt-case.h:29
Definition: keycache.h:73
Definition: mysql_lex_string.h:40