MySQL 8.0.39
Source Code Documentation
anonymous_namespace{sql_tablespace.cc} Namespace Reference

Classes

class  Rollback_guard
 

Typedefs

template<typename T >
using Mod_pair = std::pair< const T *, T * >
 
typedef std::vector< Mod_pair< dd::Table > > Table_pair_list
 

Functions

template<typename LEXSTR >
bool validate_tspnamelen (const LEXSTR &name)
 
template<typename DISABLE_ROLLBACK >
bool complete_stmt (THD *thd, handlerton *hton, DISABLE_ROLLBACK &&dr, bool using_trans=true, bool dont_write_to_binlog=false)
 
bool lock_rec (THD *thd, MDL_request_list *rlst, const LEX_STRING &tsp)
 
template<typename... Names>
bool lock_rec (THD *thd, MDL_request_list *rlst, const LEX_STRING &tsp, Names... names)
 
template<typename... Names>
bool lock_tablespace_names (THD *thd, Names... names)
 
template<typename T >
Mod_pair< T > get_mod_pair (dd::cache::Dictionary_client *dcp, const dd::String_type &name)
 
template<typename T >
Mod_pair< T > get_mod_pair (dd::cache::Dictionary_client *dcp, const dd::String_type &sch_name, const dd::String_type &name)
 
const char * real_engine_name (THD *thd, const LEX_CSTRING &alias)
 
bool get_stmt_hton (THD *thd, const LEX_CSTRING &engine, const char *object_name, const char *statement, handlerton **htonp)
 
bool get_dd_hton (THD *thd, const dd::String_type &dd_engine, const LEX_CSTRING &stmt_engine, const char *tblspc, const char *stmt, handlerton **htonp)
 
bool intermediate_commit_unless_atomic_ddl (THD *thd, handlerton *hton)
 
bool map_errors (int se_error, const char *statement_txt, const st_alter_tablespace *ts_info)
 

Typedef Documentation

◆ Mod_pair

template<typename T >
using anonymous_namespace{sql_tablespace.cc}::Mod_pair = typedef std::pair<const T *, T *>

◆ Table_pair_list

typedef std::vector<Mod_pair<dd::Table> > anonymous_namespace{sql_tablespace.cc}::Table_pair_list

Function Documentation

◆ complete_stmt()

template<typename DISABLE_ROLLBACK >
bool anonymous_namespace{sql_tablespace.cc}::complete_stmt ( THD thd,
handlerton hton,
DISABLE_ROLLBACK &&  dr,
bool  using_trans = true,
bool  dont_write_to_binlog = false 
)

◆ get_dd_hton()

bool anonymous_namespace{sql_tablespace.cc}::get_dd_hton ( THD thd,
const dd::String_type dd_engine,
const LEX_CSTRING stmt_engine,
const char *  tblspc,
const char *  stmt,
handlerton **  htonp 
)

◆ get_mod_pair() [1/2]

template<typename T >
Mod_pair< T > anonymous_namespace{sql_tablespace.cc}::get_mod_pair ( dd::cache::Dictionary_client dcp,
const dd::String_type name 
)

◆ get_mod_pair() [2/2]

template<typename T >
Mod_pair< T > anonymous_namespace{sql_tablespace.cc}::get_mod_pair ( dd::cache::Dictionary_client dcp,
const dd::String_type sch_name,
const dd::String_type name 
)

◆ get_stmt_hton()

bool anonymous_namespace{sql_tablespace.cc}::get_stmt_hton ( THD thd,
const LEX_CSTRING engine,
const char *  object_name,
const char *  statement,
handlerton **  htonp 
)

◆ intermediate_commit_unless_atomic_ddl()

bool anonymous_namespace{sql_tablespace.cc}::intermediate_commit_unless_atomic_ddl ( THD thd,
handlerton hton 
)

◆ lock_rec() [1/2]

bool anonymous_namespace{sql_tablespace.cc}::lock_rec ( THD thd,
MDL_request_list rlst,
const LEX_STRING tsp 
)

◆ lock_rec() [2/2]

template<typename... Names>
bool anonymous_namespace{sql_tablespace.cc}::lock_rec ( THD thd,
MDL_request_list rlst,
const LEX_STRING tsp,
Names...  names 
)

◆ lock_tablespace_names()

template<typename... Names>
bool anonymous_namespace{sql_tablespace.cc}::lock_tablespace_names ( THD thd,
Names...  names 
)

◆ map_errors()

bool anonymous_namespace{sql_tablespace.cc}::map_errors ( int  se_error,
const char *  statement_txt,
const st_alter_tablespace ts_info 
)

◆ real_engine_name()

const char * anonymous_namespace{sql_tablespace.cc}::real_engine_name ( THD thd,
const LEX_CSTRING alias 
)

◆ validate_tspnamelen()

template<typename LEXSTR >
bool anonymous_namespace{sql_tablespace.cc}::validate_tspnamelen ( const LEXSTR &  name)