Drizzled Public API Documentation

que_thr_struct Struct Reference

List of all members.

Public Attributes

que_common_t common
ulint magic_n
que_node_t * child
que_tgraph
ibool is_active
ulint state
 thrs
 trx_thrs
 queue
que_node_t * run_node
que_node_t * prev_node
ulint resource
ulint lock_state
ulint fk_cascade_depth

Detailed Description

Definition at line 351 of file que0que.h.


Member Data Documentation

que_node_t* que_thr_struct::child
que_common_t que_thr_struct::common

type: QUE_NODE_THR

Definition at line 352 of file que0que.h.

Referenced by que_thr_create(), and row_lock_table_for_mysql().

ulint que_thr_struct::fk_cascade_depth

maximum cascading call depth supported for foreign key constraint related delete/updates

Definition at line 385 of file que0que.h.

Referenced by row_update_cascade_for_mysql(), and row_update_for_mysql().

que_t* que_thr_struct::graph
ibool que_thr_struct::is_active

TRUE if the thread has been set to the run state in que_thr_move_to_run_state, but not deactivated in que_thr_dec_reference_count

Definition at line 357 of file que0que.h.

Referenced by que_fork_error_handle(), que_thr_create(), que_thr_end_wait(), que_thr_end_wait_no_next_thr(), que_thr_move_to_run_state_for_mysql(), que_thr_stop_for_mysql(), que_thr_stop_for_mysql_no_error(), and srv_suspend_mysql_thread().

ulint que_thr_struct::lock_state

lock state of thread (table or row)

Definition at line 383 of file que0que.h.

Referenced by que_thr_create(), row_insert_for_mysql(), row_search_for_mysql(), row_update_for_mysql(), and srv_suspend_mysql_thread().

ulint que_thr_struct::magic_n

magic number to catch memory corruption

Definition at line 353 of file que0que.h.

Referenced by que_graph_free_recursive(), que_thr_create(), que_thr_move_to_run_state_for_mysql(), and que_thr_stop_for_mysql_no_error().

que_thr_struct::queue

list of runnable thread nodes in the server task queue

Definition at line 370 of file que0que.h.

ulint que_thr_struct::resource

resource usage of the query thread thus far

Definition at line 381 of file que0que.h.

Referenced by que_thr_create().

que_thr_struct::thrs

list of thread nodes of the fork node

Definition at line 364 of file que0que.h.

que_thr_struct::trx_thrs

lists of threads in wait list of the trx

Definition at line 367 of file que0que.h.


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