MySQL 8.0.39
Source Code Documentation
routine.cc File Reference
#include "sql/dd/upgrade_57/routine.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_inttypes.h"
#include "my_loglevel.h"
#include "my_sys.h"
#include "my_user.h"
#include "mysql/components/services/bits/psi_bits.h"
#include "mysql/components/services/log_builtins.h"
#include "mysql/components/services/log_shared.h"
#include "mysql/udf_registration_types.h"
#include "mysql_com.h"
#include "mysqld_error.h"
#include "sql/dd/impl/upgrade/server.h"
#include "sql/dd/types/schema.h"
#include "sql/dd/upgrade_57/global.h"
#include "sql/dd_sp.h"
#include "sql/field.h"
#include "sql/handler.h"
#include "sql/key.h"
#include "sql/log.h"
#include "sql/sp.h"
#include "sql/sp_head.h"
#include "sql/sql_base.h"
#include "sql/sql_class.h"
#include "sql/sql_connect.h"
#include "sql/sql_const.h"
#include "sql/sql_lex.h"
#include "sql/sql_servers.h"
#include "sql/system_variables.h"
#include "sql/table.h"
#include "sql/thd_raii.h"
#include "sql/thr_malloc.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 bool dd::upgrade_57::set_st_sp_chistics (THD *thd, TABLE *proc_table, st_sp_chistics *chistics)
 Set st_sp_chistics for routines. More...
 
static bool dd::upgrade_57::migrate_routine_to_dd (THD *thd, TABLE *proc_table)
 This function migrate one SP/SF from mysql.proc to routines DD table. More...
 
bool dd::upgrade_57::migrate_routines_to_dd (THD *thd)
 Migrate Stored Procedure and Functions from mysql.proc to routines dd table. More...
 

Variables

static Check_table_intact dd::upgrade_57::table_intact
 
static const TABLE_FIELD_TYPE dd::upgrade_57::proc_table_fields [MYSQL_PROC_FIELD_COUNT]
 Column definitions for 5.7 mysql.proc table (5.7.13 and up). More...
 
static const TABLE_FIELD_DEF dd::upgrade_57::proc_table_def
 
static const TABLE_FIELD_TYPE dd::upgrade_57::proc_table_fields_old [MYSQL_PROC_FIELD_COUNT]
 Column definitions for 5.7 mysql.proc table (before 5.7.13). More...
 
static const TABLE_FIELD_DEF dd::upgrade_57::proc_table_def_old