23#ifndef DD__SDI_TABLESPACE_INCLUDED
24#define DD__SDI_TABLESPACE_INCLUDED
36class Dictionary_client;
38namespace sdi_tablespace {
78 const Schema &schema [[maybe_unused]]);
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:33
Data structure that contains the information about shared tablespaces.
Definition: fsp0space.h:46
bool store_tbl_sdi(THD *thd, handlerton *hton, const dd::Sdi_type &sdi, const dd::Table &table, const dd::Schema &schema)
Looks up the relevant tablespaces for the table and stores the table SDI in each.
Definition: sdi_tablespace.cc:134
bool store_tsp_sdi(handlerton *hton, const Sdi_type &sdi, const Tablespace &tblspc)
Stores the tablespace SDI in the tablespace.
Definition: sdi_tablespace.cc:158
bool drop_tbl_sdi(THD *thd, const handlerton &hton, const Table &table, const Schema &schema)
Looks up the relevant tablespaces for the table and drops the table SDI in each.
Definition: sdi_tablespace.cc:168
bool drop_all_sdi(THD *thd, const handlerton &hton, const Table &t)
Deletes all SDIs with SDI_TYPE_TABLE from the table tablespace.
Definition: sdi_tablespace.cc:250
borrowable::session_track::Schema< true > Schema
Definition: classic_protocol_session_track.h:276
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:42
String_type Sdi_type
Definition: sdi.h:47
Exposes SDI-related functionality to the rest of the dictionary code.
handlerton is a singleton structure - one instance per storage engine - to provide access to storage ...
Definition: handler.h:2594