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:36
 
Definition: dictionary_impl.h:63
 
static bool shutdown()
Definition: dictionary_impl.cc:184
 
static Object_id DEFAULT_CATALOG_ID
Definition: dictionary_impl.h:151
 
static uint get_target_dd_version()
Definition: dictionary_impl.cc:197
 
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:267
 
static uint get_target_P_S_version()
Definition: dictionary_impl.cc:237
 
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:376
 
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:299
 
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:273
 
static Object_id DD_TABLESPACE_ID
Definition: dictionary_impl.h:152
 
virtual uint get_actual_P_S_version(THD *thd)
Definition: dictionary_impl.cc:241
 
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:282
 
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:312
 
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:213
 
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:253
 
Dictionary_impl()=default
 
virtual uint get_actual_dd_version(THD *thd)
Definition: dictionary_impl.cc:201
 
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:322
 
uint set_ndbinfo_schema_version(THD *thd, uint version)
Definition: dictionary_impl.cc:261
 
uint set_I_S_version(THD *thd, uint version)
Definition: dictionary_impl.cc:231
 
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:219
 
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:144
 
const char * str
Definition: mysql_lex_string.h:41