MySQL 9.1.0
Source Code Documentation
que_fork_t Struct Reference

#include <que0que.h>

Public Attributes

que_common_t common
 type: QUE_NODE_FORK More...
 
que_tgraph
 query graph of this node More...
 
ulint fork_type
 fork type More...
 
ulint n_active_thrs
 if this is the root of a graph, the number query threads that have been started in que_thr_move_to_run_state but for which que_thr_dec_refer_count has not yet been called More...
 
trx_ttrx
 transaction: this is set only in the root node More...
 
ulint state
 state of the fork node More...
 
que_thr_tcaller
 pointer to a possible calling query thread More...
 
 thrs
 list of query threads More...
 
sym_tab_tsym_tab
 symbol table of the query, generated by the parser, or NULL if the graph was created 'by hand' More...
 
pars_info_tinfo
 info struct, or NULL More...
 
ulint cur_end
 QUE_CUR_NOT_DEFINED, QUE_CUR_START, QUE_CUR_END. More...
 
ulint cur_pos
 if there are n rows in the result set, values 0 and n + 1 mean before first row, or after last row, depending on cur_end; values 1...n mean a row index More...
 
bool cur_on_row
 true if cursor is on a row, i.e., it is not before the first row or after the last row More...
 
sel_node_tlast_sel_node
 last executed select node, or NULL if none More...
 
 graphs
 list of query graphs of a session or a stored procedure More...
 
mem_heap_theap
 memory heap where the fork was created More...
 

Member Data Documentation

◆ caller

que_thr_t* que_fork_t::caller

pointer to a possible calling query thread

◆ common

que_common_t que_fork_t::common

type: QUE_NODE_FORK

◆ cur_end

ulint que_fork_t::cur_end

QUE_CUR_NOT_DEFINED, QUE_CUR_START, QUE_CUR_END.

◆ cur_on_row

bool que_fork_t::cur_on_row

true if cursor is on a row, i.e., it is not before the first row or after the last row

◆ cur_pos

ulint que_fork_t::cur_pos

if there are n rows in the result set, values 0 and n + 1 mean before first row, or after last row, depending on cur_end; values 1...n mean a row index

◆ fork_type

ulint que_fork_t::fork_type

fork type

◆ graph

que_t* que_fork_t::graph

query graph of this node

◆ graphs

que_fork_t::graphs

list of query graphs of a session or a stored procedure

◆ heap

mem_heap_t* que_fork_t::heap

memory heap where the fork was created

◆ info

pars_info_t* que_fork_t::info

info struct, or NULL

◆ last_sel_node

sel_node_t* que_fork_t::last_sel_node

last executed select node, or NULL if none

◆ n_active_thrs

ulint que_fork_t::n_active_thrs

if this is the root of a graph, the number query threads that have been started in que_thr_move_to_run_state but for which que_thr_dec_refer_count has not yet been called

◆ state

ulint que_fork_t::state

state of the fork node

◆ sym_tab

sym_tab_t* que_fork_t::sym_tab

symbol table of the query, generated by the parser, or NULL if the graph was created 'by hand'

◆ thrs

que_fork_t::thrs

list of query threads

◆ trx

trx_t* que_fork_t::trx

transaction: this is set only in the root node


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