23#ifndef DD__SCHEMA_IMPL_INCLUDED
24#define DD__SCHEMA_IMPL_INCLUDED
50class Open_dictionary_tables_ctx;
204 "SCHEMA OBJECT: id= {OID: %lld}, name= %s, "
205 "collation_id={OID: %lld},"
206 "m_created= %llu, m_last_altered= %llu,"
207 "m_default_encryption= %d, "
208 "se_private_data= %s, options= %s",
241 placeholder->
set_id(
id());
libevent global state management
Definition: http_common.h:59
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:33
Definition: entity_object_impl.h:43
void set_name(const String_type &name) override
Definition: entity_object_impl.h:61
void set_id(Object_id id)
Definition: entity_object_impl.h:50
Object_id id() const override
The unique dictionary object id.
Definition: entity_object_impl.h:48
const String_type & name() const override
Definition: entity_object_impl.h:59
Entity_object_impl * impl() override
Definition: entity_object_impl.h:67
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: entity_object_impl.h:56
Definition: function.h:38
This class represents all data dictionary table like mysql.tables, mysql.columns and more.
Definition: object_table.h:71
Auxiliary class for opening dictionary tables.
Definition: transaction_impl.h:75
Definition: procedure.h:36
The Properties_impl class implements the Properties interface.
Definition: properties_impl.h:76
bool insert_values(const Properties &properties) override
Insert key/value pairs from a different property object.
Definition: properties_impl.cc:103
const String_type raw_string() const override
Iterate over all entries in the private hash table.
Definition: properties_impl.cc:59
The Properties class defines an interface for storing key=value pairs, where both key and value may b...
Definition: properties.h:73
Definition: raw_record.h:45
Definition: schema_impl.h:62
void set_default_collation_id(Object_id default_collation_id) override
Definition: schema_impl.h:86
const String_type & name() const override
Definition: schema_impl.h:179
Event * create_event(THD *thd) const override
Definition: schema_impl.cc:190
ulonglong created(bool convert_time) const override
Definition: schema_impl.h:113
bool set_options(const Properties &options) override
Definition: schema_impl.h:158
Object_id default_collation_id() const override
Definition: schema_impl.h:82
enum_encryption_type m_default_encryption
Definition: schema_impl.h:220
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: schema_impl.h:175
Schema_impl()
Definition: schema_impl.cc:80
Entity_object_impl * impl() override
Definition: schema_impl.h:167
Schema * clone_dropped_object_placeholder() const override
Allocate a new object which can serve as a placeholder for the original object in the Dictionary_clie...
Definition: schema_impl.h:235
Object_id id() const override
The unique dictionary object id.
Definition: schema_impl.h:173
bool default_encryption() const override
Definition: schema_impl.h:94
void set_last_altered(ulonglong last_altered) override
Definition: schema_impl.h:128
ulonglong m_last_altered
Definition: schema_impl.h:219
Table * create_table(THD *thd) const override
Definition: schema_impl.cc:238
Properties_impl m_se_private_data
Definition: schema_impl.h:226
bool set_se_private_data(const String_type &se_private_data_raw) override
Definition: schema_impl.h:142
View * create_system_view(THD *thd) const override
Definition: schema_impl.cc:290
bool read_only() const override
Definition: schema_impl.cc:97
View * create_view(THD *thd) const override
Definition: schema_impl.cc:265
bool restore_attributes(const Raw_record &r) override
Definition: schema_impl.cc:113
bool validate() const override
Definition: schema_impl.cc:85
Properties & options() override
Definition: schema_impl.h:156
Properties & se_private_data() override
Definition: schema_impl.h:140
Procedure * create_procedure(THD *thd) const override
Definition: schema_impl.cc:222
ulonglong m_created
Definition: schema_impl.h:218
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: schema_impl.cc:322
ulonglong last_altered(bool convert_time) const override
Definition: schema_impl.h:123
Schema * clone() const override
Allocate a new object and invoke the copy constructor.
Definition: schema_impl.h:233
const Entity_object_impl * impl() const override
Definition: schema_impl.h:169
void set_created(ulonglong created) override
Definition: schema_impl.h:117
bool store_attributes(Raw_record *r) override
Definition: schema_impl.cc:145
bool set_options(const String_type &options_raw) override
Definition: schema_impl.h:162
void set_read_only(bool state) override
Definition: schema_impl.cc:107
const Properties & options() const override
Definition: schema_impl.h:154
void set_name(const String_type &name) override
Definition: schema_impl.h:183
Properties_impl m_options
Definition: schema_impl.h:228
const Object_table & object_table() const override
Definition: schema_impl.cc:316
const Properties & se_private_data() const override
Definition: schema_impl.h:136
bool set_se_private_data(const Properties &se_private_data) override
Definition: schema_impl.h:146
Function * create_function(THD *thd) const override
Definition: schema_impl.cc:206
void debug_print(String_type &outb) const override
Definition: schema_impl.h:201
void set_default_encryption(bool default_encryption) override
Definition: schema_impl.h:98
Object_id m_default_collation_id
Definition: schema_impl.h:231
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:840
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:55
std::function< void(const Type)> Function
Definition: ut0counter.h:240
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:42
unsigned long long Object_id
Definition: object_id.h:30
enum_encryption_type
Definition: schema.h:58
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:50
Definition: options.cc:48
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:85
This header provides Rapidjson Type Aliases.
Interface for server time utilities.