![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
Query graph. More...
#include "usr0sess.h"Functions | |
| static trx_t * | thr_get_trx (que_thr_t *thr) | 
| Gets the trx of a query thread.  More... | |
| static bool | thr_is_recv (const que_thr_t *thr) | 
| Determines if this thread is rolling back an incomplete transaction in crash recovery.  More... | |
| static que_thr_t * | que_fork_get_first_thr (que_fork_t *fork) | 
| Gets the first thr in a fork.  More... | |
| static que_node_t * | que_fork_get_child (que_fork_t *fork) | 
| Gets the child node of the first thr in a fork.  More... | |
| static ulint | que_node_get_type (const que_node_t *node) | 
| Gets the type of a graph node.  More... | |
| static dfield_t * | que_node_get_val (que_node_t *node) | 
| Gets pointer to the value dfield of a graph node.  More... | |
| static ulint | que_node_get_val_buf_size (que_node_t *node) | 
| Gets the value buffer size of a graph node.  More... | |
| static void | que_node_set_val_buf_size (que_node_t *node, ulint size) | 
| Sets the value buffer size of a graph node.  More... | |
| static void | que_node_set_parent (que_node_t *node, que_node_t *parent) | 
| Sets the parent of a graph node.  More... | |
| static dtype_t * | que_node_get_data_type (que_node_t *node) | 
| Gets pointer to the value data type field of a graph node.  More... | |
| static 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.  More... | |
| static que_node_t * | que_node_list_get_last (que_node_t *node_list) | 
| static que_node_t * | que_node_get_next (que_node_t *node) | 
| Gets the next list node in a list of query graph nodes.  More... | |
| static ulint | que_node_list_get_len (que_node_t *node_list) | 
| Gets a query graph node list length.  More... | |
| static que_node_t * | que_node_get_parent (que_node_t *node) | 
| Gets the parent node of a query graph node.  More... | |
| static bool | que_thr_peek_stop (que_thr_t *thr) | 
| Checks if graph, trx, or session is in a state where the query thread should be stopped.  More... | |
| static bool | que_graph_is_select (que_t *graph) | 
| Returns true if the query graph is for a SELECT statement.  More... | |
Query graph.
Created 5/27/1996 Heikki Tuuri
      
  | 
  inlinestatic | 
Gets the child node of the first thr in a fork.
| fork | in: query fork | 
      
  | 
  inlinestatic | 
Gets the first thr in a fork.
| fork | in: query fork | 
      
  | 
  inlinestatic | 
Returns true if the query graph is for a SELECT statement.
| graph | in: graph | 
      
  | 
  inlinestatic | 
Gets pointer to the value data type field of a graph node.
| node | in: graph node | 
      
  | 
  inlinestatic | 
Gets the next list node in a list of query graph nodes.
| node | in: node in a list | 
      
  | 
  inlinestatic | 
Gets the parent node of a query graph node.
| node | in: node | 
      
  | 
  inlinestatic | 
Gets the type of a graph node.
| node | in: graph node | 
      
  | 
  inlinestatic | 
Gets pointer to the value dfield of a graph node.
| node | in: graph node | 
      
  | 
  inlinestatic | 
Gets the value buffer size of a graph node.
| node | in: graph node | 
      
  | 
  inlinestatic | 
Catenates a query graph node to a list of them, possible empty list.
| node_list | in: node list, or NULL | 
| node | in: node | 
      
  | 
  inlinestatic | 
      
  | 
  inlinestatic | 
Gets a query graph node list length.
| node_list | in: node list, or NULL | 
      
  | 
  inlinestatic | 
Sets the parent of a graph node.
| node | in: graph node | 
| parent | in: parent | 
      
  | 
  inlinestatic | 
Sets the value buffer size of a graph node.
| node | in: graph node | 
| size | in: size | 
      
  | 
  inlinestatic | 
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 | 
      
  | 
  inlinestatic | 
Determines if this thread is rolling back an incomplete transaction in crash recovery.
| thr | in: query thread |