MySQL 8.4.0
Source Code Documentation
dd_schema.h File Reference
#include <stddef.h>
#include "sql/mdl.h"

Go to the source code of this file.

Classes

class  dd::Schema_MDL_locker
 RAII based class to acquire and release schema meta data locks. More...
 

Namespaces

namespace  dd
 The version of the current data dictionary table definitions.
 

Functions

bool dd::schema_exists (THD *thd, const char *schema_name, bool *exists)
 Check if given schema exists. More...
 
bool dd::create_schema (THD *thd, const char *schema_name, const CHARSET_INFO *charset_info, const bool default_encryption)
 Create a schema record into dd.schemata. More...
 
bool dd::mdl_lock_schema (THD *thd, const char *schema_name, enum_mdl_duration duration, MDL_ticket **ticket=nullptr)
 Acquire MDL on schema name. More...