MySQL 9.1.0
Source Code Documentation
|
#include "sql/dd/impl/upgrade/dd.h"
#include "sql/dd/impl/bootstrap/bootstrapper.h"
#include "sql/dd/impl/utils.h"
#include <assert.h>
#include <regex>
#include <set>
#include "mysql/components/services/log_builtins.h"
#include "mysql_version.h"
#include "mysqld_error.h"
#include "sql/dd/cache/dictionary_client.h"
#include "sql/dd/impl/bootstrap/bootstrap_ctx.h"
#include "sql/dd/impl/cache/shared_dictionary_cache.h"
#include "sql/dd/impl/system_registry.h"
#include "sql/dd/impl/tables/columns.h"
#include "sql/dd/impl/tables/dd_properties.h"
#include "sql/dd/impl/tables/events.h"
#include "sql/dd/impl/tables/foreign_key_column_usage.h"
#include "sql/dd/impl/tables/foreign_keys.h"
#include "sql/dd/impl/tables/index_partitions.h"
#include "sql/dd/impl/tables/indexes.h"
#include "sql/dd/impl/tables/routines.h"
#include "sql/dd/impl/tables/schemata.h"
#include "sql/dd/impl/tables/table_partitions.h"
#include "sql/dd/impl/tables/tables.h"
#include "sql/dd/impl/tables/tablespaces.h"
#include "sql/dd/impl/tables/triggers.h"
#include "sql/dd/object_id.h"
#include "sql/dd/types/object_table.h"
#include "sql/dd/types/object_table_definition.h"
#include "sql/dd/types/schema.h"
#include "sql/sd_notify.h"
#include "sql/sql_class.h"
#include "sql/table.h"
Namespaces | |
namespace | dd |
The version of the current data dictionary table definitions. | |
namespace | dd::anonymous_namespace{dd.cc} |
namespace | dd::upgrade |
Functions | |
bool | dd::anonymous_namespace{dd.cc}::create_temporary_schemas (THD *thd, Object_id *mysql_schema_id, Object_id *target_table_schema_id, String_type *target_table_schema_name, Object_id *actual_table_schema_id) |
void | dd::anonymous_namespace{dd.cc}::establish_table_name_sets (std::set< String_type > *create_set, std::set< String_type > *remove_set) |
bool | dd::anonymous_namespace{dd.cc}::update_meta_data (THD *thd) |
Adjust metadata in source DD tables in mysql schema. More... | |
bool | dd::anonymous_namespace{dd.cc}::migrate_meta_data (THD *thd, const std::set< String_type > &create_set, const std::set< String_type > &remove_set) |
Copy meta data from the actual tables to the target tables. More... | |
bool | dd::anonymous_namespace{dd.cc}::update_object_ids (THD *thd, const std::set< String_type > &create_set, const std::set< String_type > &remove_set, Object_id mysql_schema_id, Object_id target_table_schema_id, const String_type &target_table_schema_name, Object_id actual_table_schema_id) |
bool | dd::upgrade::upgrade_tables (THD *thd) |