24#ifndef DD_TABLESPACE_INCLUDED
25#define DD_TABLESPACE_INCLUDED
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
std::unordered_set, but with my_malloc, so that you can track the memory used using PSI memory keys.
Definition: map_helpers.h:177
Legacy struct for passing tablespace information to SEs.
Definition: handler.h:869
static MEM_ROOT mem_root
Definition: client_plugin.cc:114
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
bool get_tablespace_name(THD *thd, const T *obj, String_type *name)
Read tablespace name of a tablespace_id from Table or similar object.
Definition: dd_tablespace.cc:153
bool fill_table_and_parts_tablespace_names(THD *thd, const char *db_name, const char *table_name, Tablespace_hash_set *tablespace_set)
Fill Tablespace_hash_set with tablespace names used by the given db_name.table_name.
Definition: dd_tablespace.cc:78
const char * table_name
Definition: rules_table_service.cc:56
const char * db_name
Definition: rules_table_service.cc:55
The MEM_ROOT is a simple arena, where allocations are carved out of larger blocks.
Definition: my_alloc.h:83
handlerton is a singleton structure - one instance per storage engine - to provide access to storage ...
Definition: handler.h:2740