MySQL 8.3.0
Source Code Documentation
Name_resolution_context Struct Reference

#include <item.h>

Public Member Functions

 Name_resolution_context ()
 
void init ()
 
void resolve_in_table_list_only (Table_ref *tables)
 

Public Attributes

Name_resolution_contextouter_context
 
Name_resolution_contextnext_context
 Link to next name res context with the same query block as the base. More...
 
Table_reftable_list
 
Table_reffirst_name_resolution_table
 
Table_reflast_name_resolution_table
 
Query_blockquery_block
 
bool view_error_handler
 
Table_refview_error_handler_arg
 
bool resolve_in_select_list
 When true, items are resolved in this context against Query_block::item_list, SELECT_lex::group_list and this->table_list. More...
 
Security_contextsecurity_ctx
 

Constructor & Destructor Documentation

◆ Name_resolution_context()

Name_resolution_context::Name_resolution_context ( )
inline

Member Function Documentation

◆ init()

void Name_resolution_context::init ( )
inline

◆ resolve_in_table_list_only()

void Name_resolution_context::resolve_in_table_list_only ( Table_ref tables)
inline

Member Data Documentation

◆ first_name_resolution_table

Table_ref* Name_resolution_context::first_name_resolution_table

◆ last_name_resolution_table

Table_ref* Name_resolution_context::last_name_resolution_table

◆ next_context

Name_resolution_context* Name_resolution_context::next_context

Link to next name res context with the same query block as the base.

◆ outer_context

Name_resolution_context* Name_resolution_context::outer_context

◆ query_block

Query_block* Name_resolution_context::query_block

◆ resolve_in_select_list

bool Name_resolution_context::resolve_in_select_list

When true, items are resolved in this context against Query_block::item_list, SELECT_lex::group_list and this->table_list.

If false, items are resolved only against this->table_list.

See also
Query_block::item_list, Query_block::group_list

◆ security_ctx

Security_context* Name_resolution_context::security_ctx

◆ table_list

Table_ref* Name_resolution_context::table_list

◆ view_error_handler

bool Name_resolution_context::view_error_handler

◆ view_error_handler_arg

Table_ref* Name_resolution_context::view_error_handler_arg

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