24#ifndef DD__DICTIONARY_IMPL_INCLUDED 
   25#define DD__DICTIONARY_IMPL_INCLUDED 
  128                                  bool is_ddl_statement,
 
  129                                  const char *schema_name, 
size_t schema_length,
 
  133                           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:34
 
Definition: dictionary_impl.h:63
 
static bool shutdown()
Definition: dictionary_impl.cc:196
 
static Object_id DEFAULT_CATALOG_ID
Definition: dictionary_impl.h:151
 
static uint get_target_dd_version()
Definition: dictionary_impl.cc:209
 
static bool init(enum_dd_init_type dd_init)
Definition: dictionary_impl.cc:104
 
static Dictionary_impl * instance()
Definition: dictionary_impl.cc:96
 
uint set_P_S_version(THD *thd, uint version)
Definition: dictionary_impl.cc:279
 
static uint get_target_P_S_version()
Definition: dictionary_impl.cc:249
 
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:388
 
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:311
 
static Dictionary_impl * s_instance
Definition: dictionary_impl.h:74
 
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:285
 
static Object_id DD_TABLESPACE_ID
Definition: dictionary_impl.h:152
 
virtual uint get_actual_P_S_version(THD *thd)
Definition: dictionary_impl.cc:253
 
static const String_type DEFAULT_CATALOG_NAME
Definition: dictionary_impl.h:153
 
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:294
 
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:324
 
static const String_type & default_catalog_name()
Definition: dictionary_impl.h:146
 
~Dictionary_impl() override=default
 
static uint get_target_I_S_version()
Definition: dictionary_impl.cc:225
 
friend class dd_schema_unittest::SchemaTest
Definition: dictionary_impl.h:64
 
virtual bool get_actual_ndbinfo_schema_version(THD *thd, uint *version)
Definition: dictionary_impl.cc:265
 
Dictionary_impl()=default
 
virtual uint get_actual_dd_version(THD *thd)
Definition: dictionary_impl.cc:213
 
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:135
 
static Object_id dd_tablespace_id()
Definition: dictionary_impl.h:144
 
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:334
 
uint set_ndbinfo_schema_version(THD *thd, uint version)
Definition: dictionary_impl.cc:273
 
uint set_I_S_version(THD *thd, uint version)
Definition: dictionary_impl.cc:243
 
friend class my_testing::DD_initializer
Definition: dictionary_impl.h:65
 
static Object_id default_catalog_id()
Definition: dictionary_impl.h:142
 
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:114
 
virtual uint get_actual_I_S_version(THD *thd)
Definition: dictionary_impl.cc:231
 
Main interface class enabling users to operate on data dictionary.
Definition: dictionary.h:51
 
This class represents all data dictionary table like mysql.tables, mysql.columns and more.
Definition: object_table.h:72
 
Definition: dictionary_impl.h:53
 
Definition: dictionary_impl.h:51
 
Definition: dictionary_impl.h:43
 
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_dd_init_type
Definition: dd.h:32
 
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
 
Definition: dictionary_impl.h:47
 
const char * table_name
Definition: rules_table_service.cc:56
 
required uint64 version
Definition: replication_group_member_actions.proto:41
 
LEX_CSTRING MYSQL_SCHEMA_NAME
Definition: table.cc:135
 
const char * str
Definition: mysql_lex_string.h:41
 
unsigned int uint
Definition: uca9-dump.cc:75