24#ifndef DD_TABLES__DD_PROPERTIES_INCLUDED
25#define DD_TABLES__DD_PROPERTIES_INCLUDED
174 std::unique_ptr<Properties> *properties,
bool *
exists);
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:34
Definition: object_table_impl.h:36
The Properties_impl class implements the Properties interface.
Definition: properties_impl.h:77
The Properties class defines an interface for storing key=value pairs, where both key and value may b...
Definition: properties.h:74
Definition: dd_properties.h:42
DD_properties()
Definition: dd_properties.cc:60
bool unchecked_get(THD *thd, const String_type &key, String_type *value, bool *exists)
Get the value of the property key.
Definition: dd_properties.cc:226
bool remove(THD *thd, const String_type &key)
Remove a property key.
Definition: dd_properties.cc:311
Properties_impl m_properties
Definition: dd_properties.h:202
static DD_properties & instance()
Definition: dd_properties.cc:54
bool init_cached_properties(THD *thd)
Initialize the cached properties by reading from disk.
Definition: dd_properties.cc:130
bool flush_cached_properties(THD *thd)
Flush the cached properties to disk.
Definition: dd_properties.cc:173
bool unchecked_set(THD *thd, const String_type &key, const String_type &value)
Set the value of the property key.
Definition: dd_properties.cc:246
Property_type
Definition: dd_properties.h:205
bool set(THD *thd, const String_type &key, uint value)
Set the integer value of the property key.
Definition: dd_properties.cc:267
enum_fields
Definition: dd_properties.h:46
@ FIELD_PROPERTIES
Definition: dd_properties.h:46
static const char * dd_key(DD_property label)
Property key names for DD table properties.
Definition: dd_properties.h:84
DD_property
The 'mysql.dd_properties' table will store key=value pairs.
Definition: dd_properties.h:75
std::map< String_type, Property_type > m_property_desc
Definition: dd_properties.h:208
bool get(THD *thd, const String_type &key, uint *value, bool *exists)
Get the integer value of the property key.
Definition: dd_properties.cc:257
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
static int exists(node_address *name, node_list const *nodes, u_int with_uid)
Definition: node_list.cc:106
required string key
Definition: replication_asynchronous_connection_failover.proto:60
unsigned int uint
Definition: uca9-dump.cc:75