![]() |
MySQL 8.0.43
Source Code Documentation
|
#include "sql/dd_sp.h"#include <string.h>#include <sys/types.h>#include <memory>#include <ostream>#include <string>#include "lex_string.h"#include "m_ctype.h"#include "m_string.h"#include "my_alloc.h"#include "my_dbug.h"#include "my_inttypes.h"#include "my_sys.h"#include "mysql_com.h"#include "sql/dd/collection.h"#include "sql/dd/properties.h"#include "sql/dd/string_type.h"#include "sql/dd/types/column.h"#include "sql/dd/types/parameter.h"#include "sql/dd/types/parameter_type_element.h"#include "sql/dd/types/view.h"#include "sql/dd_table_share.h"#include "sql/field.h"#include "sql/gis/srid.h"#include "sql/sp.h"#include "sql/sql_class.h"#include "sql/sql_lex.h"#include "sql/sql_show.h"#include "sql/system_variables.h"#include "sql/table.h"#include "sql_string.h"#include "typelib.h"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... | |
| static Field * | make_field (const dd::Parameter ¶m, TABLE_SHARE *share, Field::geometry_type geom_type, TYPELIB *interval) |
| static void | prepare_type_string_from_dd_param (THD *thd, const dd::Parameter *param, String *type_str) |
| Helper method to prepare type in string format from the dd::Parameter's object. 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... | |
|
static |
| 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.
| [in] | thd | Thread handle. |
| [in] | routine | dd::Routine type object read from the Data Dictionary. |
| [out] | params_str | String prepared from the all the parameters of stored 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.
| [in] | thd | Thread handle. |
| [in] | routine | dd::Routine type object read from the Data Dictionary. |
| [out] | return_type_str | Stored routine return type in string format. |
| 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.
| [in] | routine | Routine object read from the Data Dictionary. |
| [out] | sp_chistics | st_sp_chistics type's object to be prepared from the routine param. |
|
static |
Helper method to prepare type in string format from the dd::Parameter's object.
This method is called from the prepare_return_type_string_from_dd_routine() and prepare_params_string_from_dd_routine().
| [in] | thd | Thread handle. |
| [in] | param | dd::Parameter's object. |
| [out] | type_str | SQL type string prepared from the dd::Parameter's object. |