InnoDB Plugin
1.0
|
#include "usr0sess.h"
Functions | |
UNIV_INLINE trx_t * | thr_get_trx (que_thr_t *thr) |
UNIV_INLINE ibool | thr_is_recv (const que_thr_t *thr) |
UNIV_INLINE que_thr_t * | que_fork_get_first_thr (que_fork_t *fork) |
UNIV_INLINE que_node_t * | que_fork_get_child (que_fork_t *fork) |
UNIV_INLINE ulint | que_node_get_type (que_node_t *node) |
UNIV_INLINE dfield_t * | que_node_get_val (que_node_t *node) |
UNIV_INLINE ulint | que_node_get_val_buf_size (que_node_t *node) |
UNIV_INLINE void | que_node_set_val_buf_size (que_node_t *node, ulint size) |
UNIV_INLINE void | que_node_set_parent (que_node_t *node, que_node_t *parent) |
UNIV_INLINE dtype_t * | que_node_get_data_type (que_node_t *node) |
UNIV_INLINE que_node_t * | que_node_list_add_last (que_node_t *node_list, que_node_t *node) |
UNIV_INLINE que_node_t * | que_node_list_get_last (que_node_t *node_list) |
UNIV_INLINE que_node_t * | que_node_get_next (que_node_t *node) |
UNIV_INLINE ulint | que_node_list_get_len (que_node_t *node_list) |
UNIV_INLINE que_node_t * | que_node_get_parent (que_node_t *node) |
UNIV_INLINE ibool | que_thr_peek_stop (que_thr_t *thr) |
UNIV_INLINE ibool | que_graph_is_select (que_t *graph) |
Query graph
Created 5/27/1996 Heikki Tuuri
UNIV_INLINE que_node_t* que_fork_get_child | ( | que_fork_t * | fork | ) |
Gets the child node of the first thr in a fork.
fork | in: query fork |
UNIV_INLINE que_thr_t* que_fork_get_first_thr | ( | que_fork_t * | fork | ) |
Gets the first thr in a fork.
fork | in: query fork |
Returns TRUE if the query graph is for a SELECT statement.
graph | in: graph |
UNIV_INLINE dtype_t* que_node_get_data_type | ( | que_node_t * | node | ) |
Gets pointer to the value data type field of a graph node.
node | in: graph node |
UNIV_INLINE que_node_t* que_node_get_next | ( | que_node_t * | node | ) |
Gets the next list node in a list of query graph nodes.
node | in: node in a list |
UNIV_INLINE que_node_t* que_node_get_parent | ( | que_node_t * | node | ) |
Gets the parent node of a query graph node.
node | in: node |
UNIV_INLINE ulint que_node_get_type | ( | que_node_t * | node | ) |
Gets the type of a graph node.
node | in: graph node |
UNIV_INLINE dfield_t* que_node_get_val | ( | que_node_t * | node | ) |
Gets pointer to the value dfield of a graph node.
node | in: graph node |
UNIV_INLINE ulint que_node_get_val_buf_size | ( | que_node_t * | node | ) |
Gets the value buffer size of a graph node.
node | in: graph node |
UNIV_INLINE que_node_t* que_node_list_add_last | ( | que_node_t * | node_list, |
que_node_t * | node | ||
) |
Catenates a query graph node to a list of them, possible empty list.
node_list | in: node list, or NULL |
node | in: node |
UNIV_INLINE ulint que_node_list_get_len | ( | que_node_t * | node_list | ) |
Gets a query graph node list length.
node_list | in: node list, or NULL |
UNIV_INLINE void que_node_set_parent | ( | que_node_t * | node, |
que_node_t * | parent | ||
) |
Sets the parent of a graph node.
node | in: graph node |
parent | in: parent |
UNIV_INLINE void que_node_set_val_buf_size | ( | que_node_t * | node, |
ulint | size | ||
) |
Sets the value buffer size of a graph node.
node | in: graph node |
size | in: size |
Checks if graph, trx, or session is in a state where the query thread should be stopped.
thr | in: query thread |
Gets the trx of a query thread.
thr | in: query thread |