23#ifndef DD_SCHEMA_INCLUDED
24#define DD_SCHEMA_INCLUDED
50 const bool default_encryption);
A granted metadata lock.
Definition: mdl.h:983
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:33
RAII based class to acquire and release schema meta data locks.
Definition: dd_schema.h:85
Schema_MDL_locker(THD *thd)
Definition: dd_schema.h:91
bool ensure_locked(const char *schema_name)
Make sure we have an IX meta data lock on the schema name.
Definition: dd_schema.cc:125
~Schema_MDL_locker()
Release the MDL ticket, if any, when the instance of this class leaves scope or is deleted.
Definition: dd_schema.cc:129
THD * m_thd
Definition: dd_schema.h:87
MDL_ticket * m_ticket
Definition: dd_schema.h:88
Fido Client Authentication nullptr
Definition: fido_client_plugin.cc:221
enum_mdl_duration
Duration of metadata lock.
Definition: mdl.h:332
static const CHARSET_INFO * charset_info
Definition: mysql.cc:232
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:42
bool schema_exists(THD *thd, const char *schema_name, bool *exists)
Check if given schema exists.
Definition: dd_schema.cc:46
bool mdl_lock_schema(THD *thd, const char *schema_name, enum_mdl_duration duration, MDL_ticket **ticket)
Acquire MDL on schema name.
Definition: dd_schema.cc:82
bool create_schema(THD *thd, const char *schema_name, const CHARSET_INFO *charset_info, bool default_encryption)
Create a schema record into dd.schemata.
Definition: dd_schema.cc:61
static int exists(node_address *name, node_list const *nodes, u_int with_uid)
Definition: node_list.cc:105
Definition: m_ctype.h:382