My Project
|
Public Member Functions | |
Item_ident (Name_resolution_context *context_arg, const char *db_name_arg, const char *table_name_arg, const char *field_name_arg) | |
Item_ident (THD *thd, Item_ident *item) | |
const char * | full_name () const |
virtual void | fix_after_pullout (st_select_lex *parent_select, st_select_lex *removed_select) |
void | cleanup () |
bool | remove_dependence_processor (uchar *arg) |
virtual void | print (String *str, enum_query_type query_type) |
virtual bool | change_context_processor (uchar *cntx) |
Public Attributes | |
Name_resolution_context * | context |
const char * | db_name |
const char * | table_name |
const char * | field_name |
bool | alias_name_used |
uint | cached_field_index |
TABLE_LIST * | cached_table |
st_select_lex * | depended_from |
Protected Attributes | |
const char * | orig_db_name |
const char * | orig_table_name |
const char * | orig_field_name |
Friends | |
bool | insert_fields (THD *thd, Name_resolution_context *context, const char *db_name, const char *table_name, List_iterator< Item > *it, bool any_privileges) |
Item_ident::Item_ident | ( | THD * | thd, |
Item_ident * | item | ||
) |
Constructor used by Item_field & Item_*_ref (see Item comment)
void Item_ident::fix_after_pullout | ( | st_select_lex * | parent_select, |
st_select_lex * | removed_select | ||
) | [virtual] |
Fix after tables have been moved from one select_lex level to the parent level, e.g by semijoin conversion. Basically re-calculate all attributes dependent on the tables.
parent_select | select_lex that tables are moved to. |
removed_select | select_lex that tables are moved away from, child of parent_select. |
Reimplemented from Item.
Reimplemented in Item_outer_ref, and Item_ref.
void Item_ident::print | ( | String * | str, |
enum_query_type | query_type | ||
) | [virtual] |
This method is used for to:
For more information about view definition query, INFORMATION_SCHEMA query and why they should be generated from the Item-tree,
Reimplemented from Item.
Reimplemented in Item_trigger_field, Item_insert_value, Item_default_value, Item_ref_null_helper, Item_ref, Item_field, and Item_aggregate_ref.