MySQL 8.0.39
Source Code Documentation
|
Called from functions in sdi.cc if the dd object resides in an SE supporting SDI storage in tablespaces. More...
Functions | |
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... | |
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... | |
Called from functions in sdi.cc if the dd object resides in an SE supporting SDI storage in tablespaces.
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.
SDIs with SDI_TYPE_TABLESPACE are only deleted if their tablespace id does not match the current tablespace id of the tablespace being deleted from.
bool dd::sdi_tablespace::drop_all_sdi | ( | THD * | , |
const handlerton & | , | ||
const Table & | |||
) |
Deletes all SDIs with SDI_TYPE_TABLE from the table tablespace.
In case of a partitioned table, SDIs are deleted from all partition tablespaces. SDIs with SDI_TYPE_TABLESPACE are only deleted if their tablespace id does not match the current tablespace id of the tablespace being deleted from.
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.
bool dd::sdi_tablespace::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.
bool dd::sdi_tablespace::store_tsp_sdi | ( | handlerton * | hton, |
const Sdi_type & | sdi, | ||
const Tablespace & | tblspc | ||
) |
Stores the tablespace SDI in the tablespace.