MySQL  8.0.18
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_LIST *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_LISTtable_list
 
TABLE_LISTfirst_name_resolution_table
 
TABLE_LISTlast_name_resolution_table
 
SELECT_LEXselect_lex
 
bool view_error_handler
 
TABLE_LISTview_error_handler_arg
 
bool resolve_in_select_list
 When true, items are resolved in this context against SELECT_LEX::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_LIST tables)
inline

Member Data Documentation

◆ first_name_resolution_table

TABLE_LIST* Name_resolution_context::first_name_resolution_table

◆ last_name_resolution_table

TABLE_LIST* 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

◆ resolve_in_select_list

bool Name_resolution_context::resolve_in_select_list

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

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

See also
SELECT_LEX::item_list, SELECT_LEX::group_list

◆ security_ctx

Security_context* Name_resolution_context::security_ctx

◆ select_lex

SELECT_LEX* Name_resolution_context::select_lex

◆ table_list

TABLE_LIST* Name_resolution_context::table_list

◆ view_error_handler

bool Name_resolution_context::view_error_handler

◆ view_error_handler_arg

TABLE_LIST* Name_resolution_context::view_error_handler_arg

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