24#ifndef DD__CHARSET_IMPL_INCLUDED
25#define DD__CHARSET_IMPL_INCLUDED
42class Open_dictionary_tables_ctx;
116 "CHARSET OBJECT: {OID: %lld}, name= %s, "
117 "collation_id= {OID: %lld}, mb_max_length= %u, "
138 placeholder->
set_id(
id());
Definition: charset_impl.h:49
Charset_impl()
Definition: charset_impl.h:51
uint m_mb_max_length
Definition: charset_impl.h:125
bool store_attributes(Raw_record *r) override
Definition: charset_impl.cc:69
bool restore_attributes(const Raw_record &r) override
Definition: charset_impl.cc:54
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: charset_impl.cc:99
const String_type & comment() const override
Definition: charset_impl.h:92
void set_name(const String_type &name) override
Definition: charset_impl.h:108
const Entity_object_impl * impl() const override
Definition: charset_impl.h:98
Charset * 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: charset_impl.h:132
String_type m_comment
Definition: charset_impl.h:126
const String_type & name() const override
Definition: charset_impl.h:105
const Object_table & object_table() const override
Definition: charset_impl.cc:93
Object_id id() const override
The unique dictionary object id.
Definition: charset_impl.h:101
Charset * clone() const override
Allocate a new object and invoke the copy constructor.
Definition: charset_impl.h:130
uint mb_max_length() const override
Definition: charset_impl.h:82
void debug_print(String_type &outb) const override
Definition: charset_impl.h:113
void set_default_collation_id(Object_id collation_id) override
Definition: charset_impl.h:74
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: charset_impl.h:102
Object_id default_collation_id() const override
Definition: charset_impl.h:70
virtual void set_mb_max_length(uint mb_max_length)
Definition: charset_impl.h:84
bool validate() const override
Definition: charset_impl.cc:42
virtual void set_comment(const String_type &comment)
Definition: charset_impl.h:94
Entity_object_impl * impl() override
Definition: charset_impl.h:97
Object_id m_default_collation_id
Definition: charset_impl.h:128
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
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: raw_record.h:46
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
unsigned long long Object_id
Definition: object_id.h:31
const Object_id INVALID_OBJECT_ID
The default object ID which represents that the DD object is new and not persistent in dictionary tab...
Definition: object_id.h:37
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