MySQL 8.0.39
Source Code Documentation
dd_routine.cc File Reference
#include "sql/dd/dd_routine.h"
#include <stddef.h>
#include <string.h>
#include <sys/types.h>
#include <memory>
#include "lex_string.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_time.h"
#include "sql/dd/cache/dictionary_client.h"
#include "sql/dd/dd_table.h"
#include "sql/dd/impl/utils.h"
#include "sql/dd/properties.h"
#include "sql/dd/string_type.h"
#include "sql/dd/types/function.h"
#include "sql/dd/types/parameter.h"
#include "sql/dd/types/parameter_type_element.h"
#include "sql/dd/types/procedure.h"
#include "sql/dd/types/routine.h"
#include "sql/dd/types/schema.h"
#include "sql/dd/types/view.h"
#include "sql/field.h"
#include "sql/histograms/value_map.h"
#include "sql/item_create.h"
#include "sql/key.h"
#include "sql/sp.h"
#include "sql/sp_head.h"
#include "sql/sp_pcontext.h"
#include "sql/sql_class.h"
#include "sql/sql_connect.h"
#include "sql/sql_db.h"
#include "sql/sql_lex.h"
#include "sql/system_variables.h"
#include "sql/table.h"
#include "sql/tztime.h"
#include "sql_string.h"
#include "typelib.h"

Namespaces

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

Functions

static void dd::fill_dd_function_return_type (THD *thd, sp_head *sp, Function *sf)
 Helper method for create_routine() to fill return type information of stored routine from the sp_head. More...
 
static void dd::fill_parameter_info_from_field (THD *thd, Create_field *field, dd::Parameter *param)
 Helper method for create_routine() to fill parameter information from the object of type Create_field. More...
 
static bool dd::fill_routine_parameters_info (THD *thd, sp_head *sp, Routine *routine)
 Helper method for create_routine() to fill parameters of routine to dd::Routine object from the sp_head. More...
 
static bool dd::fill_dd_routine_info (THD *thd, const dd::Schema &schema, sp_head *sp, Routine *routine, const LEX_USER *definer)
 Helper method for create_routine() to prepare dd::Routine object from the sp_head. More...
 
bool dd::create_routine (THD *thd, const Schema &schema, sp_head *sp, const LEX_USER *definer)
 Prepares dd:Routine object from sp_head and updates DD tables accordingly. More...
 
bool dd::alter_routine (THD *thd, Routine *routine, st_sp_chistics *chistics)
 Alters routine characteristics in the DD table. More...