![]() |
MySQL 8.0.43
Source Code Documentation
|
Storage and retrieval of SDIs to/form tablespaces. More...
#include <algorithm>#include "my_dbug.h"#include "my_inttypes.h"#include "sql/dd/cache/dictionary_client.h"#include "sql/dd/collection.h"#include "sql/dd/dd_tablespace.h"#include "sql/dd/impl/bootstrap/bootstrap_ctx.h"#include "sql/dd/impl/sdi.h"#include "sql/dd/impl/sdi_utils.h"#include "sql/dd/properties.h"#include "sql/dd/string_type.h"#include "sql/dd/tablespace_id_owner_visitor.h"#include "sql/dd/types/index.h"#include "sql/dd/types/partition.h"#include "sql/dd/types/partition_index.h"#include "sql/dd/types/schema.h"#include "sql/dd/types/table.h"#include "sql/dd/types/tablespace.h"#include "sql/handler.h"#include "sql/mdl.h"#include "sql/sql_class.h"#include "template_utils.h"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... | |
Storage and retrieval of SDIs to/form tablespaces.
This allows SDIs to be stored transactionally.