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

#include <pars0sym.h>

Collaboration diagram for sym_node_t:

Public Member Functions

 UT_LIST_NODE_T (sym_node_t) col_var_list
 UT_LIST_NODE_T (sym_node_t) sym_list

Public Attributes

que_common_t common
sym_node_tindirection
sym_node_talias
ibool copy_val
ulint field_nos [2]
ibool resolved
enum sym_tab_entry token_type
const char * name
ulint name_len
dict_table_ttable
ulint col_no
sel_buf_tprefetch_buf
sel_node_tcursor_def
ulint param_type
sym_tab_tsym_table
sym_node_tlike_node

Detailed Description

Symbol table node

Definition at line 146 of file pars0sym.h.

Member Function Documentation

sym_node_t::UT_LIST_NODE_T ( sym_node_t  )

list of table columns or a list of input variables for an explicit cursor

sym_node_t::UT_LIST_NODE_T ( sym_node_t  )

list of symbol nodes

Member Data Documentation

sym_node_t* sym_node_t::alias

pointer to another symbol table node for which this node is an alias, NULL otherwise

Definition at line 172 of file pars0sym.h.

ulint sym_node_t::col_no

column number if a column

Definition at line 209 of file pars0sym.h.

que_common_t sym_node_t::common

node type: QUE_NODE_SYMBOL

Definition at line 147 of file pars0sym.h.

ibool sym_node_t::copy_val

TRUE if a column and its value should be copied to dynamic memory when fetched

Definition at line 181 of file pars0sym.h.

sel_node_t* sym_node_t::cursor_def

cursor definition select node if a named cursor

Definition at line 215 of file pars0sym.h.

ulint sym_node_t::field_nos[2]

if a column, in the position SYM_CLUST_FIELD_NO is the field number in the clustered index; in the position SYM_SEC_FIELD_NO the field number in the non-clustered index to use first; if not found from the index, then ULINT_UNDEFINED

Definition at line 185 of file pars0sym.h.

sym_node_t* sym_node_t::indirection

pointer to another symbol table node which contains the value for this node, NULL otherwise

Definition at line 167 of file pars0sym.h.

const char* sym_node_t::name

name of an id

Definition at line 204 of file pars0sym.h.

ulint sym_node_t::name_len

id name length

Definition at line 205 of file pars0sym.h.

ulint sym_node_t::param_type

PARS_INPUT, PARS_OUTPUT, or PARS_NOT_PARAM if not a procedure parameter

Definition at line 218 of file pars0sym.h.

sel_buf_t* sym_node_t::prefetch_buf

NULL, or a buffer for cached column values for prefetched rows

Definition at line 211 of file pars0sym.h.

ibool sym_node_t::resolved

TRUE if the meaning of a variable or a column has been resolved; for literals this is always TRUE

Definition at line 197 of file pars0sym.h.

sym_tab_t* sym_node_t::sym_table

back pointer to the symbol table

Definition at line 222 of file pars0sym.h.

dict_table_t* sym_node_t::table

table definition if a table id or a column id

Definition at line 206 of file pars0sym.h.

enum sym_tab_entry sym_node_t::token_type

type of the parsed token

Definition at line 202 of file pars0sym.h.


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