MySQL 8.0.39
Source Code Documentation
server.h File Reference
#include <stdio.h>
#include <set>
#include "my_sys.h"
#include "sql/dd/string_type.h"
#include "sql/error_handler.h"

Go to the source code of this file.

Classes

class  dd::upgrade::Bootstrap_error_handler
 Bootstrap thread executes SQL statements. More...
 
class  dd::upgrade::Upgrade_error_counter
 Class to keep track of upgrade errors during upgrade after 8.0 GA. More...
 
class  dd::upgrade::Syntax_error_handler
 This class keeps a count of all the syntax errors that occurred while parsing views, routines, events or triggers. More...
 
class  dd::upgrade::Routine_event_context_guard
 RAII for handling creation context of Events and Stored routines. More...
 

Namespaces

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

Typedefs

using sql_mode_t = ulonglong
 

Functions

bool dd::upgrade::do_server_upgrade_checks (THD *thd)
 Performs validation on server metadata. More...
 
bool dd::upgrade::invalid_sql (THD *thd, const char *dbname, const dd::String_type &sql)
 Validate the SQL string provided. More...
 
bool dd::upgrade::invalid_triggers (THD *thd, const char *schema_name, const dd::Table &table)
 Validate all the triggers of the given table. More...
 
bool dd::upgrade::invalid_routine (THD *thd, const dd::Schema &schema, const dd::Routine &routine)
 Validate a dd::Routine object. More...
 
bool dd::upgrade::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. More...
 

Typedef Documentation

◆ sql_mode_t