24#ifndef DD__SDI_INCLUDED 
   25#define DD__SDI_INCLUDED 
  235inline bool store(
THD *thd [[maybe_unused]], 
const DDT *ddo [[maybe_unused]]) {
 
  285inline bool drop(
THD *thd [[maybe_unused]], 
const DDT *) {
 
  322                              const DDT *old_ddo [[maybe_unused]],
 
  323                              const DDT *new_ddo [[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
 
Definition: tablespace.h:56
 
bool drop(THD *thd, const Table *tp)
Remove SDI for a table.
Definition: sdi.cc:639
 
bool drop_after_update(THD *thd, const Table *old_tp, const Table *new_tp)
Table cleanup hook.
Definition: sdi.cc:650
 
bool store(THD *thd, const Table *tp)
Stores the SDI for a table.
Definition: sdi.cc:607
 
bool CheckDefaultCompatibility(const RJ_Document &doc)
Default checker which implements the traditional (strict) compatibility check: MYSQL_VERSION less tha...
Definition: sdi.cc:379
 
Sdi_type serialize(THD *thd, const Table &table, const String_type &schema_name)
Serialize a Table object.
Definition: sdi.cc:364
 
std::function< bool(const RJ_Document &)> SdiCompatibilityChecker
Type alias for std::function wrapping a callable to check if SDI, as an RJ_Document,...
Definition: sdi.h:153
 
bool deserialize(THD *thd, const Sdi_type &sdi, Table *dst_table, SdiCompatibilityChecker comp_checker, String_type *deser_schema_name)
Deserialize a dd::Table object.
Definition: sdi.cc:475
 
Header for compiler-dependent features.
 
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
 
constexpr const std::uint64_t SDI_VERSION
The version of the current SDI Json format.
Definition: sdi.h:104
 
rapidjson::GenericDocument< RJ_Encoding, RJ_Allocator, rapidjson::CrtAllocator > RJ_Document
Definition: sdi_fwd.h:48
 
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
 
entry::Table Table
Definition: select.h:51
 
This header provides Rapidjson Type Aliases.
 
handlerton is a singleton structure - one instance per storage engine - to provide access to storage ...
Definition: handler.h:2851