24#ifndef DD__ROUTINE_IMPL_INCLUDED
25#define DD__ROUTINE_IMPL_INCLUDED
44class Open_dictionary_tables_ctx;
46class Parameter_collection;
Definition: collection.h:44
Definition: entity_object_impl.h:44
void set_name(const String_type &name) override
Definition: entity_object_impl.h:62
Object_id id() const override
The unique dictionary object id.
Definition: entity_object_impl.h:49
const String_type & name() const override
Definition: entity_object_impl.h:60
Entity_object_impl * impl() override
Definition: entity_object_impl.h:68
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: entity_object_impl.h:57
This class represents all data dictionary table like mysql.tables, mysql.columns and more.
Definition: object_table.h:72
Auxiliary class for opening dictionary tables.
Definition: transaction_impl.h:76
Definition: parameter.h:45
Definition: raw_record.h:46
Definition: routine_impl.h:52
void set_definer(const String_type &username, const String_type &hostname) override
Definition: routine_impl.h:174
bool is_deterministic() const override
Definition: routine_impl.h:128
Object_id schema_collation_id() const override
Definition: routine_impl.h:200
const Object_table & object_table() const override
Definition: routine_impl.cc:244
ulonglong created(bool convert_time) const override
Definition: routine_impl.h:212
String_type m_definition
Definition: routine_impl.h:276
ulonglong m_sql_mode
Definition: routine_impl.h:272
void set_comment(const String_type &comment) override
Definition: routine_impl.h:237
void set_parameter_str(const String_type ¶meter_str) override
Definition: routine_impl.h:120
String_type m_definer_user
Definition: routine_impl.h:279
void set_sql_mode(ulonglong sm) override
Definition: routine_impl.h:164
ulonglong sql_mode() const override
Definition: routine_impl.h:162
const String_type & definer_host() const override
Definition: routine_impl.h:172
enum_sql_data_access sql_data_access() const override
Definition: routine_impl.h:138
ulonglong m_last_altered
Definition: routine_impl.h:274
Parameter_collection m_parameters
Definition: routine_impl.h:285
void debug_print(String_type &outb) const override
Definition: routine_impl.cc:200
Object_id client_collation_id() const override
Definition: routine_impl.h:184
bool restore_children(Open_dictionary_tables_ctx *otx) override
Definition: routine_impl.cc:86
void set_security_type(View::enum_security_type security_type) override
Definition: routine_impl.h:154
Object_id m_schema_id
Definition: routine_impl.h:289
View::enum_security_type security_type() const override
Definition: routine_impl.h:150
Object_id m_connection_collation_id
Definition: routine_impl.h:291
bool store_children(Open_dictionary_tables_ctx *otx) override
Definition: routine_impl.cc:94
const String_type & definer_user() const override
Definition: routine_impl.h:170
virtual void set_type(enum_routine_type routine_type)
Definition: routine_impl.h:92
bool drop_children(Open_dictionary_tables_ctx *otx) const override
Definition: routine_impl.cc:100
Object_id id() const override
The unique dictionary object id.
Definition: routine_impl.h:254
enum_sql_data_access m_sql_data_access
Definition: routine_impl.h:267
Object_id m_schema_collation_id
Definition: routine_impl.h:292
bool store_attributes(Raw_record *r) override
Definition: routine_impl.cc:165
String_type m_definer_host
Definition: routine_impl.h:280
String_type m_parameter_str
Definition: routine_impl.h:278
const Entity_object_impl * impl() const override
Definition: routine_impl.h:251
const String_type & parameter_str() const override
Definition: routine_impl.h:118
ulonglong last_altered(bool convert_time) const override
Definition: routine_impl.h:222
void set_schema_collation_id(Object_id schema_collation_id) override
Definition: routine_impl.h:204
View::enum_security_type m_security_type
Definition: routine_impl.h:268
void set_deterministic(bool deterministic) override
Definition: routine_impl.h:130
void set_definition(const String_type &definition) override
Definition: routine_impl.h:102
Object_id schema_id() const override
Definition: routine_impl.h:82
bool validate() const override
Definition: routine_impl.cc:74
void set_definition_utf8(const String_type &definition_utf8) override
Definition: routine_impl.h:110
bool m_is_deterministic
Definition: routine_impl.h:270
Routine_impl()
Definition: routine_impl.cc:56
Object_id connection_collation_id() const override
Definition: routine_impl.h:192
void set_client_collation_id(Object_id client_collation_id) override
Definition: routine_impl.h:188
const String_type & definition_utf8() const override
Definition: routine_impl.h:106
Object_id m_client_collation_id
Definition: routine_impl.h:290
Entity_object_impl * impl() override
Definition: routine_impl.h:250
enum_routine_type m_routine_type
Definition: routine_impl.h:266
void set_sql_data_access(enum_sql_data_access sda) override
Definition: routine_impl.h:142
void set_created(ulonglong created) override
Definition: routine_impl.h:216
const Parameter_collection & parameters() const override
Definition: routine_impl.h:245
enum_routine_type type() const override
Definition: routine_impl.h:90
Parameter * add_parameter() override
Definition: routine_impl.cc:236
void set_schema_id(Object_id schema_id) override
Definition: routine_impl.h:84
bool restore_attributes(const Raw_record &r) override
Definition: routine_impl.cc:108
ulonglong m_created
Definition: routine_impl.h:273
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: routine_impl.h:255
String_type m_comment
Definition: routine_impl.h:281
const String_type & definition() const override
Definition: routine_impl.h:100
void set_connection_collation_id(Object_id connection_collation_id) override
Definition: routine_impl.h:196
void set_last_altered(ulonglong last_altered) override
Definition: routine_impl.h:227
const String_type & comment() const override
Definition: routine_impl.h:235
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: routine_impl.cc:250
const String_type & name() const override
Definition: routine_impl.h:258
String_type m_definition_utf8
Definition: routine_impl.h:277
void set_name(const String_type &name) override
Definition: routine_impl.h:261
Abstract base class for functions and procedures.
Definition: routine.h:61
enum_sql_data_access
Definition: routine.h:90
enum_routine_type
Definition: routine.h:88
enum_security_type
Definition: view.h:58
ulonglong gmt_time_to_local_time(ulonglong gmt_time)
This function gets GMT time and adds value of time_zone to get the local time.
Definition: sql_time.cc:841
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
unsigned long long Object_id
Definition: object_id.h:31
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:86
Interface for server time utilities.