InnoDB Plugin  1.0
Functions
row0sel.ic File Reference
#include "que0que.h"
Include dependency graph for row0sel.ic:
This graph shows which files directly or indirectly include this file:

Functions

UNIV_INLINE plan_t * sel_node_get_nth_plan (sel_node_t *node, ulint i)
UNIV_INLINE void sel_node_reset_cursor (sel_node_t *node)
UNIV_INLINE que_thr_t * open_step (que_thr_t *thr)

Detailed Description

Select

Created 12/19/1997 Heikki Tuuri

Function Documentation

UNIV_INLINE que_thr_t* open_step ( que_thr_t *  thr)

Performs an execution step of an open or close cursor statement node.

Returns
query thread to run next or NULL
Parameters
thrin: query thread
UNIV_INLINE plan_t* sel_node_get_nth_plan ( sel_node_t *  node,
ulint  i 
)

Gets the plan node for the nth table in a join.

Returns
plan node
Parameters
nodein: select node
iin: get ith plan node
UNIV_INLINE void sel_node_reset_cursor ( sel_node_t *  node)

Resets the cursor defined by sel_node to the SEL_NODE_OPEN state, which means that it will start fetching from the start of the result set again, regardless of where it was before, and it will set intention locks on the tables.

Parameters
nodein: select node