MySQL 9.1.0
Source Code Documentation
dd_schema.cc File Reference
#include "sql/dd/dd_schema.h"
#include <atomic>
#include <memory>
#include "m_string.h"
#include "my_dbug.h"
#include "my_time.h"
#include "mysql/strings/m_ctype.h"
#include "mysql_com.h"
#include "sql/dd/cache/dictionary_client.h"
#include "sql/dd/dd.h"
#include "sql/dd/impl/utils.h"
#include "sql/dd/types/schema.h"
#include "sql/item_create.h"
#include "sql/mdl.h"
#include "sql/mysqld.h"
#include "sql/sql_class.h"
#include "sql/system_variables.h"
#include "sql/tztime.h"

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...