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:186
bool is_deterministic() const override
Definition: routine_impl.h:128
Object_id schema_collation_id() const override
Definition: routine_impl.h:212
const Object_table & object_table() const override
Definition: routine_impl.cc:249
ulonglong created(bool convert_time) const override
Definition: routine_impl.h:224
String_type m_definition
Definition: routine_impl.h:288
ulonglong m_sql_mode
Definition: routine_impl.h:284
void set_external_language(const String_type &el) override
Definition: routine_impl.h:154
void set_comment(const String_type &comment) override
Definition: routine_impl.h:249
void set_parameter_str(const String_type ¶meter_str) override
Definition: routine_impl.h:120
String_type m_definer_user
Definition: routine_impl.h:291
void set_sql_mode(ulonglong sm) override
Definition: routine_impl.h:176
ulonglong sql_mode() const override
Definition: routine_impl.h:174
const String_type & definer_host() const override
Definition: routine_impl.h:184
enum_sql_data_access sql_data_access() const override
Definition: routine_impl.h:138
ulonglong m_last_altered
Definition: routine_impl.h:286
Parameter_collection m_parameters
Definition: routine_impl.h:298
void debug_print(String_type &outb) const override
Definition: routine_impl.cc:204
Object_id client_collation_id() const override
Definition: routine_impl.h:196
bool restore_children(Open_dictionary_tables_ctx *otx) override
Definition: routine_impl.cc:88
void set_security_type(View::enum_security_type security_type) override
Definition: routine_impl.h:166
Object_id m_schema_id
Definition: routine_impl.h:302
View::enum_security_type security_type() const override
Definition: routine_impl.h:162
Object_id m_connection_collation_id
Definition: routine_impl.h:304
bool store_children(Open_dictionary_tables_ctx *otx) override
Definition: routine_impl.cc:96
const String_type & definer_user() const override
Definition: routine_impl.h:182
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:102
Object_id id() const override
The unique dictionary object id.
Definition: routine_impl.h:266
enum_sql_data_access m_sql_data_access
Definition: routine_impl.h:279
Object_id m_schema_collation_id
Definition: routine_impl.h:305
bool store_attributes(Raw_record *r) override
Definition: routine_impl.cc:168
String_type m_definer_host
Definition: routine_impl.h:292
String_type m_parameter_str
Definition: routine_impl.h:290
const Entity_object_impl * impl() const override
Definition: routine_impl.h:263
const String_type & parameter_str() const override
Definition: routine_impl.h:118
ulonglong last_altered(bool convert_time) const override
Definition: routine_impl.h:234
void set_schema_collation_id(Object_id schema_collation_id) override
Definition: routine_impl.h:216
View::enum_security_type m_security_type
Definition: routine_impl.h:280
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:76
void set_definition_utf8(const String_type &definition_utf8) override
Definition: routine_impl.h:110
bool m_is_deterministic
Definition: routine_impl.h:282
Routine_impl()
Definition: routine_impl.cc:58
Object_id connection_collation_id() const override
Definition: routine_impl.h:204
void set_client_collation_id(Object_id client_collation_id) override
Definition: routine_impl.h:200
const String_type & definition_utf8() const override
Definition: routine_impl.h:106
Object_id m_client_collation_id
Definition: routine_impl.h:303
Entity_object_impl * impl() override
Definition: routine_impl.h:262
enum_routine_type m_routine_type
Definition: routine_impl.h:278
const String_type & external_language() const override
Definition: routine_impl.h:150
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:228
const Parameter_collection & parameters() const override
Definition: routine_impl.h:257
enum_routine_type type() const override
Definition: routine_impl.h:90
Parameter * add_parameter() override
Definition: routine_impl.cc:241
String_type m_external_language
Definition: routine_impl.h:294
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:110
ulonglong m_created
Definition: routine_impl.h:285
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: routine_impl.h:267
String_type m_comment
Definition: routine_impl.h:293
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:208
void set_last_altered(ulonglong last_altered) override
Definition: routine_impl.h:239
const String_type & comment() const override
Definition: routine_impl.h:247
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: routine_impl.cc:255
const String_type & name() const override
Definition: routine_impl.h:270
String_type m_definition_utf8
Definition: routine_impl.h:289
void set_name(const String_type &name) override
Definition: routine_impl.h:273
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:62
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:868
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.