MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sel_node_t Struct Reference

#include <row0sel.h>

Collaboration diagram for sel_node_t:

Public Attributes

que_common_t common
enum sel_node_state state
que_node_t * select_list
sym_node_tinto_list
sym_node_ttable_list
ibool asc
ibool set_x_locks
ulint row_lock_mode
ulint n_tables
ulint fetch_table
plan_tplans
que_node_t * search_cond
read_view_tread_view
ibool consistent_read
order_node_torder_by
ibool is_aggregate
ibool aggregate_already_fetched
ibool can_get_updated
sym_node_texplicit_cursor
 copy_variables

Detailed Description

Select statement node

Definition at line 295 of file row0sel.h.

Member Data Documentation

ibool sel_node_t::aggregate_already_fetched

TRUE if the aggregate row has already been fetched for the current cursor

Definition at line 325 of file row0sel.h.

ibool sel_node_t::asc

TRUE if the rows should be fetched in an ascending order

Definition at line 302 of file row0sel.h.

ibool sel_node_t::can_get_updated

this is TRUE if the select is in a single-table explicit cursor which can get updated within the stored procedure, or in a searched update or delete; NOTE that to determine of an explicit cursor if it can get updated, the parser checks from a stored procedure if it contains positioned update or delete statements

Definition at line 328 of file row0sel.h.

que_common_t sel_node_t::common

node type: QUE_NODE_SELECT

Definition at line 296 of file row0sel.h.

ibool sel_node_t::consistent_read

TRUE if the select is a consistent, non-locking read

Definition at line 318 of file row0sel.h.

sel_node_t::copy_variables

variables whose values we have to copy when an explicit cursor is opened, so that they do not change between fetches

Definition at line 341 of file row0sel.h.

sym_node_t* sel_node_t::explicit_cursor

not NULL if an explicit cursor

Definition at line 339 of file row0sel.h.

ulint sel_node_t::fetch_table

number of the next table to access in the join

Definition at line 309 of file row0sel.h.

sym_node_t* sel_node_t::into_list

variables list or NULL

Definition at line 300 of file row0sel.h.

ibool sel_node_t::is_aggregate

TRUE if the select list consists of aggregate functions

Definition at line 322 of file row0sel.h.

ulint sel_node_t::n_tables

number of tables

Definition at line 308 of file row0sel.h.

order_node_t* sel_node_t::order_by

order by column definition, or NULL

Definition at line 320 of file row0sel.h.

plan_t* sel_node_t::plans

array of n_tables many plan nodes containing the search plan and the search data structures

Definition at line 311 of file row0sel.h.

read_view_t* sel_node_t::read_view

if the query is a non-locking consistent read, its read view is placed here, otherwise NULL

Definition at line 315 of file row0sel.h.

ulint sel_node_t::row_lock_mode

LOCK_X or LOCK_S

Definition at line 307 of file row0sel.h.

que_node_t* sel_node_t::search_cond

search condition

Definition at line 314 of file row0sel.h.

que_node_t* sel_node_t::select_list

select list

Definition at line 299 of file row0sel.h.

ibool sel_node_t::set_x_locks

TRUE if the cursor is for update or delete, which means that a row x-lock should be placed on the cursor row

Definition at line 304 of file row0sel.h.

enum sel_node_state sel_node_t::state

node state

Definition at line 297 of file row0sel.h.

sym_node_t* sel_node_t::table_list

table list

Definition at line 301 of file row0sel.h.


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