MySQL 8.0.40
Source Code Documentation
|
#include "sql/dd/upgrade_57/event.h"
#include <string.h>
#include <sys/types.h>
#include "lex_string.h"
#include "m_ctype.h"
#include "m_string.h"
#include "my_base.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_loglevel.h"
#include "my_sys.h"
#include "my_time.h"
#include "my_user.h"
#include "mysql/components/services/bits/psi_bits.h"
#include "mysql/components/services/log_builtins.h"
#include "mysql/udf_registration_types.h"
#include "mysql_com.h"
#include "mysqld_error.h"
#include "sql/dd/cache/dictionary_client.h"
#include "sql/dd/dd_event.h"
#include "sql/dd/impl/upgrade/server.h"
#include "sql/dd/types/event.h"
#include "sql/dd/upgrade_57/global.h"
#include "sql/event_db_repository.h"
#include "sql/event_parse_data.h"
#include "sql/field.h"
#include "sql/handler.h"
#include "sql/histograms/value_map.h"
#include "sql/key.h"
#include "sql/log.h"
#include "sql/mysqld.h"
#include "sql/sp.h"
#include "sql/sql_base.h"
#include "sql/sql_class.h"
#include "sql/sql_const.h"
#include "sql/sql_servers.h"
#include "sql/sql_time.h"
#include "sql/system_variables.h"
#include "sql/table.h"
#include "sql/thd_raii.h"
#include "sql/thr_malloc.h"
#include "sql/transaction.h"
#include "sql/tztime.h"
#include "sql_string.h"
#include "thr_lock.h"
Namespaces | |
namespace | dd |
The version of the current data dictionary table definitions. | |
namespace | dd::upgrade_57 |
Functions | |
static void | dd::upgrade_57::load_event_creation_context (THD *thd, TABLE *table, Event_parse_data *et_parse_data) |
Load the charset and time zone information for an event. More... | |
static bool | dd::upgrade_57::update_event_timing_fields (THD *thd, TABLE *table, const char *event_db_name, const char *event_name) |
Update the created, last modified and last executed time for the event with the values read from the old data dir. More... | |
static int | dd::upgrade_57::find_string_in_array (const LEX_CSTRING *haystack, const LEX_CSTRING *needle, const CHARSET_INFO *cs) |
Searches for a LEX_STRING in an LEX_STRING array. More... | |
static bool | dd::upgrade_57::set_status_and_interval_for_event (THD *thd, TABLE *table, Event_parse_data *et_parse_data) |
Update the event's interval and status information in the DD. More... | |
static bool | dd::upgrade_57::migrate_event_to_dd (THD *thd, TABLE *event_table) |
Create an entry in the DD for the event by reading all the event attributes stored in 'mysql.event' table. More... | |
bool | dd::upgrade_57::migrate_events_to_dd (THD *thd) |
Migrate all the events from 'mysql.event' to 'events' DD table. More... | |
Variables | |
static Check_table_intact | dd::upgrade_57::table_intact |
const TABLE_FIELD_TYPE | dd::upgrade_57::event_table_fields [ET_FIELD_COUNT] |
Column definitions for 5.7 mysql.event table (5.7.13 and up). More... | |
static const TABLE_FIELD_DEF | dd::upgrade_57::event_table_def |
static const TABLE_FIELD_TYPE | dd::upgrade_57::event_table_fields_old [ET_FIELD_COUNT] |
Column definitions for 5.7 mysql.event table (before 5.7.13). More... | |
static const TABLE_FIELD_DEF | dd::upgrade_57::event_table_def_old |