MySQL  8.0.27
Source Code Documentation
dd_sp.h File Reference

Go to the source code of this file.

Functions

void prepare_sp_chistics_from_dd_routine (const dd::Routine *routine, st_sp_chistics *sp_chistics)
 Method to prepare sp_chistics object using the dd::Routine object read from the Data Dictionary. More...
 
void prepare_return_type_string_from_dd_routine (THD *thd, const dd::Routine *routine, dd::String_type *return_type_str)
 Helper method to prepare stored routine type in string format using the Routine object read from the Data Dictionary. More...
 
void prepare_params_string_from_dd_routine (THD *thd, const dd::Routine *routine, dd::String_type *params_str)
 Method to prepare stored routine's parameter string using the Routine object read from the Data Dictionary. More...
 
bool is_dd_routine_type_function (const dd::Routine *routine)
 Method to check whether routine object is of stored function type or not. More...
 

Function Documentation

◆ is_dd_routine_type_function()

bool is_dd_routine_type_function ( const dd::Routine routine)
inline

Method to check whether routine object is of stored function type or not.

Parameters
[in]routineRoutine object read from the Data Dictionary.

◆ prepare_params_string_from_dd_routine()

void prepare_params_string_from_dd_routine ( THD thd,
const dd::Routine routine,
dd::String_type params_str 
)

Method to prepare stored routine's parameter string using the Routine object read from the Data Dictionary.

Parameters
[in]thdThread handle.
[in]routinedd::Routine type object read from the Data Dictionary.
[out]params_strString prepared from the all the parameters of stored routine.

◆ prepare_return_type_string_from_dd_routine()

void prepare_return_type_string_from_dd_routine ( THD thd,
const dd::Routine routine,
dd::String_type return_type_str 
)

Helper method to prepare stored routine type in string format using the Routine object read from the Data Dictionary.

Parameters
[in]thdThread handle.
[in]routinedd::Routine type object read from the Data Dictionary.
[out]return_type_strStored routine return type in string format.

◆ prepare_sp_chistics_from_dd_routine()

void prepare_sp_chistics_from_dd_routine ( const dd::Routine routine,
st_sp_chistics sp_chistics 
)

Method to prepare sp_chistics object using the dd::Routine object read from the Data Dictionary.

Parameters
[in]routineRoutine object read from the Data Dictionary.
[out]sp_chisticsst_sp_chistics type's object to be prepared from the routine param.