24#ifndef DD__SCHEMA_IMPL_INCLUDED 
   25#define DD__SCHEMA_IMPL_INCLUDED 
   51class Open_dictionary_tables_ctx;
 
  205            "SCHEMA OBJECT: id= {OID: %lld}, name= %s, " 
  206            "collation_id={OID: %lld}," 
  207            "m_created= %llu, m_last_altered= %llu," 
  208            "m_default_encryption= %d, " 
  209            "se_private_data= %s, options= %s",
 
  242    placeholder->
set_id(
id());
 
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
 
Definition: entity_object_impl.h:44
 
void set_name(const String_type &name) override
Definition: entity_object_impl.h:62
 
void set_id(Object_id id)
Definition: entity_object_impl.h:51
 
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
 
Definition: function.h:39
 
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: procedure.h:37
 
The Properties_impl class implements the Properties interface.
Definition: properties_impl.h:77
 
bool insert_values(const Properties &properties) override
Insert key/value pairs from a different property object.
Definition: properties_impl.cc:104
 
const String_type raw_string() const override
Iterate over all entries in the private hash table.
Definition: properties_impl.cc:60
 
The Properties class defines an interface for storing key=value pairs, where both key and value may b...
Definition: properties.h:74
 
Definition: raw_record.h:46
 
Definition: schema_impl.h:63
 
void set_default_collation_id(Object_id default_collation_id) override
Definition: schema_impl.h:87
 
const String_type & name() const override
Definition: schema_impl.h:180
 
Event * create_event(THD *thd) const override
Definition: schema_impl.cc:191
 
ulonglong created(bool convert_time) const override
Definition: schema_impl.h:114
 
bool set_options(const Properties &options) override
Definition: schema_impl.h:159
 
Object_id default_collation_id() const override
Definition: schema_impl.h:83
 
enum_encryption_type m_default_encryption
Definition: schema_impl.h:221
 
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: schema_impl.h:176
 
Schema_impl()
Definition: schema_impl.cc:81
 
Entity_object_impl * impl() override
Definition: schema_impl.h:168
 
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:236
 
Object_id id() const override
The unique dictionary object id.
Definition: schema_impl.h:174
 
bool default_encryption() const override
Definition: schema_impl.h:95
 
void set_last_altered(ulonglong last_altered) override
Definition: schema_impl.h:129
 
ulonglong m_last_altered
Definition: schema_impl.h:220
 
Table * create_table(THD *thd) const override
Definition: schema_impl.cc:239
 
Properties_impl m_se_private_data
Definition: schema_impl.h:227
 
bool set_se_private_data(const String_type &se_private_data_raw) override
Definition: schema_impl.h:143
 
View * create_system_view(THD *thd) const override
Definition: schema_impl.cc:291
 
bool read_only() const override
Definition: schema_impl.cc:98
 
View * create_view(THD *thd) const override
Definition: schema_impl.cc:266
 
bool restore_attributes(const Raw_record &r) override
Definition: schema_impl.cc:114
 
bool validate() const override
Definition: schema_impl.cc:86
 
Properties & options() override
Definition: schema_impl.h:157
 
Properties & se_private_data() override
Definition: schema_impl.h:141
 
Procedure * create_procedure(THD *thd) const override
Definition: schema_impl.cc:223
 
ulonglong m_created
Definition: schema_impl.h:219
 
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: schema_impl.cc:323
 
ulonglong last_altered(bool convert_time) const override
Definition: schema_impl.h:124
 
Schema * clone() const override
Allocate a new object and invoke the copy constructor.
Definition: schema_impl.h:234
 
const Entity_object_impl * impl() const override
Definition: schema_impl.h:170
 
void set_created(ulonglong created) override
Definition: schema_impl.h:118
 
bool store_attributes(Raw_record *r) override
Definition: schema_impl.cc:146
 
bool set_options(const String_type &options_raw) override
Definition: schema_impl.h:163
 
void set_read_only(bool state) override
Definition: schema_impl.cc:108
 
const Properties & options() const override
Definition: schema_impl.h:155
 
void set_name(const String_type &name) override
Definition: schema_impl.h:184
 
Properties_impl m_options
Definition: schema_impl.h:229
 
const Object_table & object_table() const override
Definition: schema_impl.cc:317
 
const Properties & se_private_data() const override
Definition: schema_impl.h:137
 
bool set_se_private_data(const Properties &se_private_data) override
Definition: schema_impl.h:147
 
Function * create_function(THD *thd) const override
Definition: schema_impl.cc:207
 
void debug_print(String_type &outb) const override
Definition: schema_impl.h:202
 
void set_default_encryption(bool default_encryption) override
Definition: schema_impl.h:99
 
Object_id m_default_collation_id
Definition: schema_impl.h:232
 
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
 
std::function< void(const Type)> Function
Definition: ut0counter.h:241
 
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
 
unsigned long long Object_id
Definition: object_id.h:31
 
enum_encryption_type
Definition: schema.h:59
 
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
 
Definition: options.cc:57
 
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:86
 
This header provides Rapidjson Type Aliases.
 
Interface for server time utilities.