MySQL 8.0.30
Source Code Documentation
schema.cc File Reference
#include "sql/dd/upgrade_57/schema.h"
#include <fcntl.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include "lex_string.h"
#include "m_ctype.h"
#include "my_dir.h"
#include "my_inttypes.h"
#include "my_io.h"
#include "my_loglevel.h"
#include "my_sys.h"
#include "mysql/components/services/log_builtins.h"
#include "mysql/psi/mysql_file.h"
#include "mysql_com.h"
#include "mysqld_error.h"
#include "sql/dd/cache/dictionary_client.h"
#include "sql/dd/dd_schema.h"
#include "sql/dd/impl/utils.h"
#include "sql/log.h"
#include "sql/mysqld.h"
#include "sql/sql_class.h"
#include "sql/sql_table.h"
#include "sql/system_variables.h"
#include "sql/thd_raii.h"
#include "sql/transaction.h"
#include "sql_string.h"

Namespaces

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

Functions

static bool dd::upgrade_57::load_db_schema_collation (THD *thd, const LEX_STRING *db_opt_path, const CHARSET_INFO **schema_charset)
 Returns the collation id for the database specified. More...
 
bool dd::upgrade_57::migrate_schema_to_dd (THD *thd, const char *dbname)
 Update the Schemata:DD for every database present in the data directory. More...
 
bool dd::upgrade_57::find_schema_from_datadir (std::vector< String_type > *db_name)
 Scans datadir for databases and lists all the database names. More...