1#ifndef KEYCACHES_INCLUDED
2#define KEYCACHES_INCLUDED
ilink (intrusive list element) with a name
Definition: keycaches.h:41
bool cmp(const char *name_cmp, size_t length)
Definition: keycaches.h:52
NAMED_ILINK(I_List< NAMED_ILINK > *links, const std::string_view &name_arg, uchar *data_arg)
Definition: keycaches.h:46
const std::string name
case-sensitive, system character set
Definition: keycaches.h:43
uchar * data
Definition: keycaches.h:44
Definition: keycaches.h:57
void delete_elements()
Definition: keycaches.cc:49
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:747
Definition: sql_list.h:677
Key cache variable structures.
NAMED_ILIST key_caches
Definition: keycaches.cc:34
const LEX_CSTRING default_key_cache_base
Definition: keycaches.cc:62
int(* process_key_cache_t)(std::string_view, KEY_CACHE *)
Definition: keycaches.h:36
bool process_key_caches(process_key_cache_t func)
Definition: keycaches.cc:109
KEY_CACHE * create_key_cache(std::string_view name)
Create a MyISAM Multiple Key Cache.
Definition: keycaches.cc:75
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:102
KEY_CACHE * get_key_cache(std::string_view cache_name)
Resolve a MyISAM Multiple Key Cache by name.
Definition: keycaches.cc:67
KEY_CACHE zero_key_cache
@nonexistent_cache.param->value_ptr() points here
Definition: keycaches.cc:65
Some integer typedefs for easier portability.
unsigned char uchar
Definition: my_inttypes.h:51
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:75
case opt name
Definition: sslopt-case.h:32
Definition: keycache.h:72
Definition: mysql_lex_string.h:39