23#ifndef DD__DICTIONARY_IMPL_INCLUDED
24#define DD__DICTIONARY_IMPL_INCLUDED
127 bool is_ddl_statement,
128 const char *schema_name,
size_t schema_length,
132 bool *hidden)
const override;
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:33
Definition: dictionary_impl.h:62
static bool shutdown()
Definition: dictionary_impl.cc:195
static Object_id DEFAULT_CATALOG_ID
Definition: dictionary_impl.h:150
static uint get_target_dd_version()
Definition: dictionary_impl.cc:208
static bool init(enum_dd_init_type dd_init)
Definition: dictionary_impl.cc:103
static Dictionary_impl * instance()
Definition: dictionary_impl.cc:95
uint set_P_S_version(THD *thd, uint version)
Definition: dictionary_impl.cc:278
static uint get_target_P_S_version()
Definition: dictionary_impl.cc:248
bool is_system_view_name(const char *schema_name, const char *table_name, bool *hidden) const override
Check if given table name is a system view name.
Definition: dictionary_impl.cc:387
bool is_system_table_name(const String_type &schema_name, const String_type &table_name) const override
Check if given table name is a system table name.
Definition: dictionary_impl.cc:310
static Dictionary_impl * s_instance
Definition: dictionary_impl.h:73
const Object_table * get_dd_table(const String_type &schema_name, const String_type &table_name) const override
Get dictionary object for a given dictionary table name.
Definition: dictionary_impl.cc:284
static Object_id DD_TABLESPACE_ID
Definition: dictionary_impl.h:151
virtual uint get_actual_P_S_version(THD *thd)
Definition: dictionary_impl.cc:252
static const String_type DEFAULT_CATALOG_NAME
Definition: dictionary_impl.h:152
bool is_dd_table_name(const String_type &schema_name, const String_type &table_name) const override
Check if given table name is a dictionary table name.
Definition: dictionary_impl.cc:293
int table_type_error_code(const String_type &schema_name, const String_type &table_name) const override
Get the error code representing the type name string for a dictionary or system table.
Definition: dictionary_impl.cc:323
static const String_type & default_catalog_name()
Definition: dictionary_impl.h:145
~Dictionary_impl() override=default
static uint get_target_I_S_version()
Definition: dictionary_impl.cc:224
friend class dd_schema_unittest::SchemaTest
Definition: dictionary_impl.h:63
virtual bool get_actual_ndbinfo_schema_version(THD *thd, uint *version)
Definition: dictionary_impl.cc:264
Dictionary_impl()=default
virtual uint get_actual_dd_version(THD *thd)
Definition: dictionary_impl.cc:212
bool is_system_view_name(const char *schema_name, const char *table_name) const override
Check if given table name is a system view name.
Definition: dictionary_impl.h:134
static Object_id dd_tablespace_id()
Definition: dictionary_impl.h:143
bool is_dd_table_access_allowed(bool is_dd_internal_thread, bool is_ddl_statement, const char *schema_name, size_t schema_length, const char *table_name) const override
Check if given table name can be accessed by the given thread type.
Definition: dictionary_impl.cc:333
uint set_ndbinfo_schema_version(THD *thd, uint version)
Definition: dictionary_impl.cc:272
uint set_I_S_version(THD *thd, uint version)
Definition: dictionary_impl.cc:242
friend class my_testing::DD_initializer
Definition: dictionary_impl.h:64
static Object_id default_catalog_id()
Definition: dictionary_impl.h:141
bool is_dd_schema_name(const String_type &schema_name) const override
Check if the given schema name is 'mysql', which where the DD tables are stored.
Definition: dictionary_impl.h:113
virtual uint get_actual_I_S_version(THD *thd)
Definition: dictionary_impl.cc:230
Main interface class enabling users to operate on data dictionary.
Definition: dictionary.h:50
This class represents all data dictionary table like mysql.tables, mysql.columns and more.
Definition: object_table.h:71
Definition: dictionary_impl.h:52
Definition: dictionary_impl.h:50
Definition: dictionary_impl.h:42
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_dd_init_type
Definition: dd.h:31
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:50
Definition: dictionary_impl.h:46
const char * table_name
Definition: rules_table_service.cc:55
required uint64 version
Definition: replication_group_member_actions.proto:40
LEX_CSTRING MYSQL_SCHEMA_NAME
Definition: table.cc:134
const char * str
Definition: mysql_lex_string.h:40
unsigned int uint
Definition: uca9-dump.cc:74