MySQL 9.1.0
Source Code Documentation
|
Classes | |
struct | parsed_table_path |
Functions | |
std::string_view | alloc_identifier (PSI_server_data_lock_container *container, PSI_identifier kind, const std::string &id_str) |
Allocate identifier in performance schema container. More... | |
parsed_table_path | parse_table_path (PSI_server_data_lock_container *container, const char *table_path) |
Parse a table path string. More... | |
std::string_view anonymous_namespace{p_s.cc}::alloc_identifier | ( | PSI_server_data_lock_container * | container, |
PSI_identifier | kind, | ||
const std::string & | id_str | ||
) |
Allocate identifier in performance schema container.
The string is allocated in the cache of the container and is owned by that cache. Therefore the returned std::string_view is only valid for as long as the cache is not cleared by a call to PFS_data_cache::clear() which occurs in:
[in] | container | The container to fill |
[in] | kind | The identifier kind |
[in] | id_str | The identifier string |
parsed_table_path anonymous_namespace{p_s.cc}::parse_table_path | ( | PSI_server_data_lock_container * | container, |
const char * | table_path | ||
) |
Parse a table path string.
Isolate the table schema, name, partition and sub partition from a table path string. Convert these strings and store them in the performance schema container.
[in] | container | The container to fill |
[in] | table_path | The table path string |