Drizzled Public API Documentation

que_fork_struct Struct Reference

Public Attributes

que_common_t common
 
que_tgraph
 
ulint fork_type
 
ulint n_active_thrs
 
trx_ttrx
 
ulint state
 
que_thr_tcaller
 
 thrs
 
sym_tab_tsym_tab
 
pars_info_tinfo
 
ulint cur_end
 
ulint cur_pos
 
ibool cur_on_row
 
sel_node_tlast_sel_node
 
 graphs
 
mem_heap_theap
 

Detailed Description

Definition at line 394 of file que0que.h.

Member Data Documentation

que_thr_t* que_fork_struct::caller
             pointer to a possible calling query

thread

Definition at line 406 of file que0que.h.

Referenced by que_fork_create().

que_common_t que_fork_struct::common

type: QUE_NODE_FORK

Definition at line 395 of file que0que.h.

Referenced by que_fork_create().

ulint que_fork_struct::cur_end
           QUE_CUR_NOT_DEFINED, QUE_CUR_START,

QUE_CUR_END

Definition at line 418 of file que0que.h.

ibool que_fork_struct::cur_on_row
             TRUE if cursor is on a row, i.e.,

it is not before the first row or after the last row

Definition at line 425 of file que0que.h.

ulint que_fork_struct::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

Definition at line 420 of file que0que.h.

ulint que_fork_struct::fork_type

fork type

Definition at line 397 of file que0que.h.

Referenced by que_eval_sql(), que_fork_create(), and que_thr_stop().

que_t* que_fork_struct::graph

query graph of this node

Definition at line 396 of file que0que.h.

Referenced by que_fork_create(), and que_thr_create().

que_fork_struct::graphs
       list of query graphs of a session

or a stored procedure

Definition at line 431 of file que0que.h.

mem_heap_t* que_fork_struct::heap
             memory heap where the fork was

created

Definition at line 434 of file que0que.h.

Referenced by que_fork_create(), and que_graph_free().

pars_info_t* que_fork_struct::info

info struct, or NULL

Definition at line 415 of file que0que.h.

Referenced by pars_sql(), que_fork_create(), and que_graph_free().

sel_node_t* que_fork_struct::last_sel_node
                     last executed select node, or NULL

if none

Definition at line 428 of file que0que.h.

Referenced by que_fork_start_command(), and row_sel_step().

ulint que_fork_struct::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

Definition at line 398 of file que0que.h.

Referenced by que_fork_create(), que_thr_move_to_run_state_for_mysql(), que_thr_stop_for_mysql(), and que_thr_stop_for_mysql_no_error().

ulint que_fork_struct::state
sym_tab_t* que_fork_struct::sym_tab
             symbol table of the query,

generated by the parser, or NULL if the graph was created 'by hand'

Definition at line 412 of file que0que.h.

Referenced by pars_sql(), que_fork_create(), and que_graph_free().

que_fork_struct::thrs

list of query threads

Definition at line 409 of file que0que.h.

Referenced by que_fork_create(), que_fork_error_handle(), que_fork_start_command(), que_graph_free_recursive(), and que_thr_create().

trx_t* que_fork_struct::trx
         transaction: this is set only in

the root node

Definition at line 403 of file que0que.h.

Referenced by pars_complete_graph_for_exec(), pars_procedure_definition(), que_eval_sql(), que_thr_stop(), row_update_prebuilt_trx(), and trx_roll_graph_build().


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