MySQL 8.0.39
Source Code Documentation
sdi_tablespace.cc File Reference

Storage and retrieval of SDIs to/form tablespaces. More...

Namespaces

namespace  anonymous_namespace{sdi_tablespace.cc}
 
namespace  dd
 The version of the current data dictionary table definitions.
 
namespace  dd::sdi_tablespace
 

Typedefs

using anonymous_namespace{sdi_tablespace.cc}::DC = dd::cache::Dictionary_client
 

Functions

const char * anonymous_namespace{sdi_tablespace.cc}::ge_type (const dd::Table &)
 
const char * anonymous_namespace{sdi_tablespace.cc}::ge_type (const dd::Index &)
 
const char * anonymous_namespace{sdi_tablespace.cc}::ge_type (const dd::Partition &)
 
const char * anonymous_namespace{sdi_tablespace.cc}::ge_type (const dd::Partition_index &)
 
template<typename DDT >
dd::Object_id anonymous_namespace{sdi_tablespace.cc}::fetch_first_tablespace_id (const DDT &t)
 Traverses Table object with sub objects. More...
 
ReturnValueOrError< const dd::Tablespace * > anonymous_namespace{sdi_tablespace.cc}::fetch_tablespace (THD *thd, dd::Object_id tsid)
 Traverses Table object with sub objects. More...
 
bool dd::sdi_tablespace::store_tbl_sdi (THD *thd, handlerton *hton, const Sdi_type &sdi, const Table &table, const dd::Schema &schema)
 Looks up the relevant tablespaces for the table and stores the table SDI in each. More...
 
bool dd::sdi_tablespace::store_tsp_sdi (handlerton *hton, const Sdi_type &sdi, const Tablespace &tablespace)
 Stores the tablespace SDI in the tablespace. More...
 
bool dd::sdi_tablespace::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. More...
 
template<typename DDT >
bool dd::sdi_tablespace::drop_all_sdi_impl (THD *thd, const handlerton &hton, const DDT &t)
 
bool dd::sdi_tablespace::drop_all_sdi (THD *, const handlerton &, const Table &)
 Deletes all SDIs with SDI_TYPE_TABLE from the table tablespace. More...
 
bool dd::sdi_tablespace::drop_all_sdi (THD *, const handlerton &, const Partition &)
 Deletes all SDIs with SDI_TYPE_TABLE from the partition tablespace, or sub-partition tablespaces in case of a sub-partitioned table. More...
 

Detailed Description

Storage and retrieval of SDIs to/form tablespaces.

This allows SDIs to be stored transactionally.