MySQL 9.1.0
Source Code Documentation
bootstrapper.h File Reference
#include <sys/types.h>
#include "sql/dd/impl/system_registry.h"
#include "sql/dd/string_type.h"
#include "sql/handler.h"

Go to the source code of this file.

Namespaces

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

Functions

bool dd::bootstrap::initialize (THD *thd)
 Initialize the dictionary while starting the server for the first time. More...
 
bool dd::bootstrap::restart_dictionary (THD *thd)
 Initialize the dictionary while restarting the server. More...
 
bool dd::bootstrap::store_plugin_IS_table_metadata (THD *thd)
 Iterate through all the plugins, and store IS table meta data into dictionary, once during MySQL server bootstrap. More...
 
bool dd::bootstrap::setup_dd_objects_and_collations (THD *thd)
 Initialization and verification of dictionary objects after upgrade, similar to what is done after normal server restart. More...
 
void dd::bootstrap::recover_innodb_upon_upgrade (THD *thd)
 This function is used in case of crash during upgrade. More...
 
bool dd::bootstrap::DDSE_dict_init (THD *thd, dict_init_mode_t dict_init_mode, uint version)
 Initialize InnoDB for. More...
 
bool dd::bootstrap::initialize_dictionary (THD *thd, Dictionary_impl *d)
 Create mysql schema. More...
 
void dd::store_predefined_tablespace_metadata (THD *thd)
 This function creates the meta data of the predefined tablespaces. More...
 
bool dd::create_dd_schema (THD *thd)
 Executes SQL queries to create and use the dictionary schema. More...
 
bool dd::initialize_dd_properties (THD *thd)
 During –initialize, we create the dd_properties table. More...
 
bool dd::is_non_inert_dd_or_ddse_table (System_tables::Types table_type)
 Predicate to check if a table type is a non-inert DD or a DDSE table. More...
 
bool dd::create_tables (THD *thd, const std::set< String_type > *create_set)
 Execute SQL statements to create the DD tables. More...
 
bool dd::sync_meta_data (THD *thd)
 Acquire the DD schema, tablespace and table objects. More...
 
bool dd::update_properties (THD *thd, const std::set< String_type > *create_set, const std::set< String_type > *remove_set, const String_type &target_table_schema_name)
 Update properties in the DD_properties table. More...
 
bool dd::update_versions (THD *thd)
 Updates the DD Version in the DD_properties table to the current version. More...