24#ifndef DD__SDI_TABLESPACE_INCLUDED
25#define DD__SDI_TABLESPACE_INCLUDED
37class Dictionary_client;
39namespace sdi_tablespace {
79 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:36
Data structure that contains the information about shared tablespaces.
Definition: fsp0space.h:47
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:135
bool store_tsp_sdi(handlerton *hton, const Sdi_type &sdi, const Tablespace &tblspc)
Stores the tablespace SDI in the tablespace.
Definition: sdi_tablespace.cc:159
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:169
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:251
static PFS_engine_table_share_proxy table
Definition: pfs.cc:61
borrowable::session_track::Schema< true > Schema
Definition: classic_protocol_session_track.h:288
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
String_type Sdi_type
Definition: sdi.h:48
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:2734