#include <item.h>
Inheritance diagram for Name_resolution_context:


Public Member Functions | |
| Name_resolution_context () | |
| void | init () |
| void | resolve_in_table_list_only (TABLE_LIST *tables) |
| void | process_error (THD *thd) |
Public Attributes | |
| Name_resolution_context * | outer_context |
| TABLE_LIST * | table_list |
| TABLE_LIST * | first_name_resolution_table |
| TABLE_LIST * | last_name_resolution_table |
| st_select_lex * | select_lex |
| void(* | error_processor )(THD *, void *) |
| void * | error_processor_data |
| bool | resolve_in_select_list |
| Security_context * | security_ctx |
Definition at line 244 of file item.h.
| Name_resolution_context::Name_resolution_context | ( | ) | [inline] |
Definition at line 303 of file item.h.
00304 :outer_context(0), table_list(0), select_lex(0), 00305 error_processor_data(0), 00306 security_ctx(0) 00307 {}
| void Name_resolution_context::init | ( | ) | [inline] |
Definition at line 309 of file item.h.
References dummy_error_processor(), error_processor, FALSE, first_name_resolution_table, last_name_resolution_table, NULL, and resolve_in_select_list.
Referenced by push_new_name_resolution_context(), and set_new_item_local_context().
00310 { 00311 resolve_in_select_list= FALSE; 00312 error_processor= &dummy_error_processor; 00313 first_name_resolution_table= NULL; 00314 last_name_resolution_table= NULL; 00315 }
Here is the call graph for this function:

Here is the caller graph for this function:

| void Name_resolution_context::process_error | ( | THD * | thd | ) | [inline] |
Definition at line 323 of file item.h.
References error_processor_data.
Referenced by Item_func_sp::execute(), Item_default_value::fix_fields(), Item_ref::fix_fields(), Item_field::fix_fields(), and Item_func_sp::fix_length_and_dec().
00324 { 00325 (*error_processor)(thd, error_processor_data); 00326 }
Here is the caller graph for this function:

| void Name_resolution_context::resolve_in_table_list_only | ( | TABLE_LIST * | tables | ) | [inline] |
Definition at line 317 of file item.h.
References FALSE, first_name_resolution_table, resolve_in_select_list, and table_list.
Referenced by check_insert_fields(), init_fields(), mysql_insert(), and mysql_prepare_insert().
00318 { 00319 table_list= first_name_resolution_table= tables; 00320 resolve_in_select_list= FALSE; 00321 }
Here is the caller graph for this function:

| void(* Name_resolution_context::error_processor)(THD *, void *) |
Referenced by init(), and Item_default_value::save_in_field().
Definition at line 268 of file item.h.
Referenced by Item_insert_value::fix_fields(), Item_field::fix_fields(), Item_field::fix_outer_field(), init(), insert_fields(), mysql_prepare_insert(), push_new_name_resolution_context(), resolve_in_table_list_only(), Name_resolution_context_state::restore_state(), Name_resolution_context_state::save_state(), set_new_item_local_context(), and setup_tables().
Definition at line 273 of file item.h.
Referenced by Item_insert_value::fix_fields(), Item_field::fix_fields(), Item_field::fix_outer_field(), init(), push_new_name_resolution_context(), and set_new_item_local_context().
Definition at line 250 of file item.h.
Referenced by Item_ref::fix_fields(), and Item_field::fix_outer_field().
Definition at line 295 of file item.h.
Referenced by Item_ref::fix_fields(), Item_field::fix_outer_field(), init(), resolve_in_table_list_only(), Name_resolution_context_state::restore_state(), and Name_resolution_context_state::save_state().
| Security_context* Name_resolution_context::security_ctx |
Definition at line 301 of file item.h.
Referenced by Item_func_sp::execute_impl(), and Item_func_current_user::fix_fields().
| st_select_lex* Name_resolution_context::select_lex |
Definition at line 280 of file item.h.
Referenced by Item_ref::fix_fields(), Item_field::fix_fields(), Item_field::fix_outer_field(), mysql_insert(), and setup_natural_join_row_types().
Definition at line 260 of file item.h.
Referenced by insert_fields(), mysql_prepare_insert(), resolve_in_table_list_only(), Name_resolution_context_state::restore_state(), Name_resolution_context_state::save_state(), Item_func_group_concat::setup(), and setup_tables().
1.4.7

