MySQL 8.4.2
Source Code Documentation
|
#include <procedure.h>
Public Types | |
typedef Procedure_impl | Impl |
Public Types inherited from dd::Routine | |
enum | enum_routine_type { RT_FUNCTION = 1 , RT_PROCEDURE } |
enum | enum_sql_data_access { SDA_CONTAINS_SQL = 1 , SDA_NO_SQL , SDA_READS_SQL_DATA , SDA_MODIFIES_SQL_DATA } |
typedef Routine_impl | Impl |
typedef Routine | Cache_partition |
typedef tables::Routines | DD_table |
typedef Primary_id_key | Id_key |
typedef Routine_name_key | Name_key |
typedef Void_key | Aux_key |
typedef Collection< Parameter * > | Parameter_collection |
Public Member Functions | |
bool | update_name_key (Name_key *key) const override |
~Procedure () override=default | |
Procedure * | clone () const override=0 |
Allocate a new object graph and invoke the copy constructor for each object. More... | |
Procedure * | clone_dropped_object_placeholder () const override=0 |
Allocate a new object which can serve as a placeholder for the original object in the Dictionary_client's dropped registry. More... | |
Public Member Functions inherited from dd::Routine | |
virtual bool | update_id_key (Id_key *key) const |
virtual bool | update_routine_name_key (Name_key *key, Object_id schema_id, const String_type &name) const =0 |
virtual bool | update_aux_key (Aux_key *) const |
~Routine () override=default | |
virtual Object_id | schema_id () const =0 |
virtual void | set_schema_id (Object_id schema_id)=0 |
virtual enum_routine_type | type () const =0 |
virtual const String_type & | definition () const =0 |
virtual void | set_definition (const String_type &definition)=0 |
virtual const String_type & | definition_utf8 () const =0 |
virtual void | set_definition_utf8 (const String_type &definition_utf8)=0 |
virtual const String_type & | parameter_str () const =0 |
virtual void | set_parameter_str (const String_type ¶meter_str)=0 |
virtual bool | is_deterministic () const =0 |
virtual void | set_deterministic (bool deterministic)=0 |
virtual enum_sql_data_access | sql_data_access () const =0 |
virtual void | set_sql_data_access (enum_sql_data_access sda)=0 |
virtual const String_type & | external_language () const =0 |
virtual void | set_external_language (const String_type &el)=0 |
virtual View::enum_security_type | security_type () const =0 |
virtual void | set_security_type (View::enum_security_type st)=0 |
virtual ulonglong | sql_mode () const =0 |
virtual void | set_sql_mode (ulonglong sm)=0 |
virtual const String_type & | definer_user () const =0 |
virtual const String_type & | definer_host () const =0 |
virtual void | set_definer (const String_type &username, const String_type &hostname)=0 |
virtual Object_id | client_collation_id () const =0 |
virtual void | set_client_collation_id (Object_id client_collation_id)=0 |
virtual Object_id | connection_collation_id () const =0 |
virtual void | set_connection_collation_id (Object_id connection_collation_id)=0 |
virtual Object_id | schema_collation_id () const =0 |
virtual void | set_schema_collation_id (Object_id schema_collation_id)=0 |
virtual ulonglong | created (bool convert_time) const =0 |
virtual void | set_created (ulonglong created)=0 |
virtual ulonglong | last_altered (bool convert_time) const =0 |
virtual void | set_last_altered (ulonglong last_altered)=0 |
virtual const String_type & | comment () const =0 |
virtual void | set_comment (const String_type &comment)=0 |
virtual Parameter * | add_parameter ()=0 |
virtual const Parameter_collection & | parameters () const =0 |
Public Member Functions inherited from dd::Entity_object | |
virtual Object_id | id () const =0 |
The unique dictionary object id. More... | |
virtual bool | is_persistent () const =0 |
Is dictionary object persistent in dictionary tables ? More... | |
virtual const String_type & | name () const =0 |
virtual void | set_name (const String_type &name)=0 |
Public Member Functions inherited from dd::Weak_object | |
virtual void | debug_print (String_type &outb) const =0 |
Weak_object ()=default | |
Weak_object (const Weak_object &)=default | |
virtual | ~Weak_object ()=default |
Static Public Member Functions | |
static bool | update_name_key (Name_key *key, Object_id schema_id, const String_type &name) |
static void | create_mdl_key (const String_type &schema_name, const String_type &name, MDL_key *key) |
Static Public Member Functions inherited from dd::Routine | |
static bool | update_id_key (Id_key *key, Object_id id) |
static void | create_mdl_key (enum_routine_type type, const String_type &schema_name, const String_type &name, MDL_key *key) |
static const CHARSET_INFO * | name_collation () |
typedef Procedure_impl dd::Procedure::Impl |
|
overridedefault |
|
overridepure virtual |
Allocate a new object graph and invoke the copy constructor for each object.
Only used in unit testing.
Implements dd::Routine.
Implemented in dd::Procedure_impl.
|
overridepure virtual |
Allocate a new object which can serve as a placeholder for the original object in the Dictionary_client's dropped registry.
Such object has the same keys as the original but has no other info and as result occupies less memory.
Implements dd::Routine.
Implemented in dd::Procedure_impl.
|
inlinestatic |
|
inlineoverridevirtual |
Reimplemented from dd::Routine.
|
static |