MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RPL_TABLE_LIST Struct Reference

#include <rpl_utility.h>

Inheritance diagram for RPL_TABLE_LIST:
Collaboration diagram for RPL_TABLE_LIST:

Public Attributes

bool m_tabledef_valid
table_def m_tabledef
TABLEm_conv_table
- Public Attributes inherited from TABLE_LIST
TABLE_LISTnext_local
TABLE_LISTnext_global
TABLE_LIST ** prev_global
char * db
char * alias
char * table_name
char * schema_table_name
char * option
Name_resolution_contextcontext_of_embedding
Itemprep_join_cond
Itemsj_on_expr
table_map sj_inner_tables
COND_EQUALcond_equal
TABLE_LISTnatural_join
bool is_natural_join
List< String > * join_using_fields
List< Natural_join_column > * join_columns
bool is_join_columns_complete
TABLE_LISTnext_name_resolution_table
List< Index_hint > * index_hints
TABLEtable
Table_id table_id
select_union * derived_result
TABLE_LISTcorrespondent_table
st_select_lex_unit * derived
 Normally, this field is non-null for anonymous derived tables only.
bool derived_keys_ready
ST_SCHEMA_TABLEschema_table
st_select_lex * schema_select_lex
bool schema_table_reformed
TMP_TABLE_PARAM * schema_table_param
st_select_lex * select_lex
LEX * view
Field_translatorfield_translation
Field_translatorfield_translation_end
TABLE_LISTmerge_underlying_list
List< TABLE_LIST > * view_tables
TABLE_LISTbelong_to_view
TABLE_LISTreferencing_view
TABLE_LISTparent_l
Security_context * security_ctx
Security_context * view_sctx
bool allowed_show
TABLE_LISTnext_leaf
Itemwhere
Itemcheck_option
LEX_STRING select_stmt
LEX_STRING md5
LEX_STRING source
LEX_STRING view_db
LEX_STRING view_name
LEX_STRING timestamp
st_lex_user definer
ulonglong file_version
ulonglong updatable_view
ulonglong algorithm
 The declared algorithm, if this is a view.
ulonglong view_suid
ulonglong with_check
uint8 effective_with_check
enum_derived_type effective_algorithm
 The view algorithm that is actually used, if this is a view.
GRANT_INFO grant
ulonglong engine_data
qc_engine_callback callback_func
thr_lock_type lock_type
uint outer_join
uint shared
size_t db_length
size_t table_name_length
bool updatable
bool straight
bool updating
bool force_index
bool ignore_leaves
table_map dep_tables
table_map on_expr_dep_tables
struct st_nested_joinnested_join
TABLE_LISTembedding
List< TABLE_LIST > * join_list
bool cacheable_table
bool table_in_first_from_clause
enum enum_open_type open_type
bool contain_auto_increment
bool multitable_view
bool compact_view_format
bool where_processed
bool check_option_processed
enum frm_type_enum required_type
char timestamp_buffer [20]
bool prelocking_placeholder
enum TABLE_LIST:: { ... }  open_strategy
bool internal_tmp_table
bool is_alias
bool is_fqtn
View_creation_ctxview_creation_ctx
LEX_STRING view_client_cs_name
LEX_STRING view_connection_cl_name
LEX_STRING view_body_utf8
List< Derived_keyderived_key_list
uint8 trg_event_map
bool optimized_away
uint i_s_requested_object
bool has_db_lookup_value
bool has_table_lookup_value
uint table_open_method
enum enum_schema_table_state schema_table_state
MDL_request mdl_request

Additional Inherited Members

- Public Types inherited from TABLE_LIST
enum  { OPEN_NORMAL = 0, OPEN_IF_EXISTS, OPEN_FOR_CREATE, OPEN_STUB }
- Public Member Functions inherited from TABLE_LIST
void init_one_table (const char *db_name_arg, size_t db_length_arg, const char *table_name_arg, size_t table_name_length_arg, const char *alias_arg, enum thr_lock_type lock_type_arg)
Item ** join_cond_ref ()
Itemjoin_cond () const
Itemset_join_cond (Item *val)
void calc_md5 (char *buffer)
void set_underlying_merge ()
 Set underlying table for table place holder of view.
int view_check_option (THD *thd, bool ignore_failure) const
bool setup_underlying (THD *thd)
void cleanup_items ()
bool placeholder ()
void print (THD *thd, String *str, enum_query_type query_type)
bool check_single_table (TABLE_LIST **table, table_map map, TABLE_LIST *view)
bool set_insert_values (MEM_ROOT *mem_root)
void hide_view_error (THD *thd)
TABLE_LISTfind_underlying_table (TABLE *table)
TABLE_LISTfirst_leaf_for_name_resolution ()
TABLE_LISTlast_leaf_for_name_resolution ()
bool is_leaf_for_name_resolution ()
const TABLE_LISTtop_table () const
TABLE_LISTtop_table ()
bool prepare_check_option (THD *thd)
bool prepare_where (THD *thd, Item **conds, bool no_where_clause)
bool uses_materialization () const
bool is_view_or_derived () const
bool materializable_is_const () const
void register_want_access (ulong want_access)
bool prepare_security (THD *thd)
Security_context * find_view_security_context (THD *thd)
bool prepare_view_securety_context (THD *thd)
void reinit_before_use (THD *thd)
Item_subselectcontaining_subselect ()
bool process_index_hints (TABLE *table)
bool is_table_ref_id_equal (TABLE_SHARE *s) const
void set_table_ref_id (TABLE_SHARE *s)
void set_table_ref_id (enum_table_ref_type table_ref_type_arg, ulonglong table_ref_version_arg)
bool is_anonymous_derived_table () const
 True if this TABLE_LIST represents an anonymous derived table, i.e. the result of a subquery.
uint query_block_id () const
 returns query block id for derived table, and zero if not derived.
char * get_db_name () const
 Returns the name of the database that the referenced table belongs to.
char * get_table_name () const
 Returns the name of the table that this TABLE_LIST represents.
int fetch_number_of_rows ()
 Retrieve number of rows in the table.
bool update_derived_keys (Field *, Item **, uint)
bool generate_keys ()
 Generate keys for a materialized derived table/view.
bool handle_derived (LEX *lex, bool(*processor)(THD *, LEX *, TABLE_LIST *))
st_select_lex_unit * get_unit () const
 Return unit of this derived table/view.
TABLE_LISTouter_join_nest () const
 Returns the outer join nest that this TABLE_LIST belongs to, if any.
- Static Public Member Functions inherited from TABLE_LIST
static TABLE_LISTnew_nested_join (MEM_ROOT *allocator, const char *alias, TABLE_LIST *embedding, List< TABLE_LIST > *belongs_to, class st_select_lex *select)
 Create a TABLE_LIST object representing a nested join.

Detailed Description

Extend the normal table list with a few new fields needed by the slave thread, but nowhere else.

Definition at line 424 of file rpl_utility.h.


The documentation for this struct was generated from the following file: