24#ifndef DD_UPGRADE_IMPL__SERVER_H_INCLUDED 
   25#define DD_UPGRADE_IMPL__SERVER_H_INCLUDED 
  118                        const char *msg) 
override;
 
#define log_error
Definition: log_client.h:111
 
This class represents the interface for internal error handlers.
Definition: error_handler.h:47
 
enum_severity_level
Enumeration value describing the severity of the condition.
Definition: sql_error.h:63
 
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:34
 
This class represents abstract time zone and provides basic interface for MYSQL_TIME <-> my_time_t co...
Definition: tztime.h:49
 
Abstract base class for functions and procedures.
Definition: routine.h:61
 
Bootstrap thread executes SQL statements.
Definition: server.h:62
 
void clear_allowlist_errors()
Definition: server.cc:137
 
ErrorHandlerFunctionPointer m_old_error_handler_hook
Definition: server.h:64
 
Bootstrap_error_handler()
Definition: server.cc:115
 
static void set_abort_on_error(uint error)
Definition: server.cc:103
 
static bool should_log_error(uint error)
Definition: server.cc:126
 
static bool abort_on_error
Definition: server.h:86
 
static void my_message_bootstrap(uint error, const char *str, myf MyFlags)
Definition: server.cc:90
 
~Bootstrap_error_handler()
Definition: server.cc:141
 
static std::set< uint > m_allowlist_errors
Definition: server.h:88
 
void set_allowlist_errors(std::set< uint > &error_codes)
Definition: server.cc:132
 
void set_log_error(bool log_error)
Definition: server.cc:122
 
static bool m_log_error
Definition: server.h:85
 
RAII for handling creation context of Events and Stored routines.
Definition: server.h:136
 
THD * m_thd
Definition: server.h:137
 
::Time_zone * m_saved_time_zone
Definition: server.h:139
 
const CHARSET_INFO * m_client_cs
Definition: server.h:140
 
const CHARSET_INFO * m_connection_cl
Definition: server.h:141
 
~Routine_event_context_guard()
Definition: server.cc:164
 
Routine_event_context_guard(THD *thd)
Definition: server.cc:156
 
sql_mode_t m_sql_mode
Definition: server.h:138
 
This class keeps a count of all the syntax errors that occurred while parsing views,...
Definition: server.h:111
 
static bool is_parse_error
Definition: server.h:125
 
Syntax_error_handler()
Definition: server.h:113
 
static bool has_too_many_errors()
Definition: server.cc:195
 
static const uint MAX_SERVER_CHECK_FAILS
Definition: server.h:126
 
Upgrade_error_counter * m_global_counter
Definition: server.h:128
 
static bool has_errors()
Definition: server.cc:199
 
static dd::String_type reason
Definition: server.h:127
 
static const char * error_message()
Definition: server.cc:201
 
Syntax_error_handler(Upgrade_error_counter *counter)
Definition: server.h:114
 
bool handle_condition(THD *, uint sql_errno, const char *, Sql_condition::enum_severity_level *, const char *msg) override
Handle a sql condition.
Definition: server.cc:180
 
static uint parse_error_count
Definition: server.h:124
 
Class to keep track of upgrade errors during upgrade after 8.0 GA.
Definition: server.h:94
 
bool has_too_many_errors()
Definition: server.cc:208
 
int m_error_count
Definition: server.h:96
 
Upgrade_error_counter operator++(int)
Definition: server.cc:211
 
const int ERROR_LIMIT
Definition: server.h:97
 
Upgrade_error_counter()
Definition: server.h:100
 
bool has_errors()
Definition: server.cc:207
 
ulonglong sql_mode_t
Definition: dd_event.h:37
 
Fido Client Authentication nullptr
Definition: fido_client_plugin.cc:222
 
void(*)(uint, const char *, myf) ErrorHandlerFunctionPointer
Definition: my_sys.h:225
 
int myf
Definition: my_inttypes.h:94
 
unsigned long long int ulonglong
Definition: my_inttypes.h:56
 
Common header for many mysys elements.
 
uint counter
Definition: mysqlimport.cc:54
 
std::string str(const mysqlrouter::ConfigGenerator::Options::Endpoint &ep)
Definition: config_generator.cc:1057
 
borrowable::session_track::Schema< true > Schema
Definition: classic_protocol_session_track.h:277
 
bool invalid_sql(THD *thd, const char *dbname, const dd::String_type &sql)
Validate the SQL string provided.
Definition: server.cc:941
 
bool do_server_upgrade_checks(THD *thd)
Performs validation on server metadata.
Definition: server.cc:822
 
bool build_event_sp(const THD *thd, const char *name, size_t name_len, const char *body, size_t body_len, dd::String_type *sp_sql)
Helper function to create a stored procedure from an event body.
Definition: server.cc:973
 
bool invalid_triggers(THD *thd, const char *schema_name, const dd::Table &table)
Validate all the triggers of the given table.
Definition: server.cc:918
 
bool invalid_routine(THD *thd, const dd::Schema &schema, const dd::Routine &routine)
Validate a dd::Routine object.
Definition: server.cc:878
 
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
 
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
 
case opt name
Definition: sslopt-case.h:33
 
Definition: m_ctype.h:385
 
unsigned int uint
Definition: uca9-dump.cc:75