MySQL  8.0.17
Source Code Documentation
parser_yystype.h File Reference
#include "handler.h"
#include "key_spec.h"
#include "my_base.h"
#include "my_time.h"
#include "resourcegroups/platform/thread_attrs_api.h"
#include "resourcegroups/resource_group_basic_types.h"
#include "sql/item_create.h"
#include "sql/lexer_yystype.h"
#include "sql/opt_hints.h"
#include "sql/parse_tree_hints.h"
#include "sql/parser_yystype.h"
#include "sql_admin.h"
#include "sql_alter.h"
#include "sql_exchange.h"
#include "sql_get_diagnostics.h"
#include "sql_signal.h"
#include "sql_string.h"
#include "table.h"
#include "thr_lock.h"
#include "trigger_def.h"
#include "window_lex.h"
#include "xa.h"

Go to the source code of this file.

Classes

struct  sys_var_with_base
 used by the parser to store internal variable name More...
 
struct  Cast_type
 
struct  Limit_options
 
struct  Query_options
 
class  Enum_parser< Enum, Default_value >
 std::optional-like wrapper for simple bitmaps (usually enums of binary flags) More...
 
struct  Value_or_default< T >
 
union  YYSTYPE
 
struct  YYSTYPE::jt_on_response
 
struct  YYSTYPE::Algo_and_lock
 
struct  YYSTYPE::Algo_and_lock_and_validation
 

Typedefs

typedef Parse_tree_node_tmpl< Alter_tablespace_parse_contextPT_alter_tablespace_option_base
 
typedef Mem_root_array_YY< LEX_CSTRINGCreate_col_name_list
 

Enumerations

enum  enum_yes_no_unknown { TVL_YES, TVL_NO, TVL_UNKNOWN }
 
enum  enum_drop_mode { DROP_DEFAULT, DROP_CASCADE, DROP_RESTRICT }
 
enum  olap_type { UNSPECIFIED_OLAP_TYPE, ROLLUP_TYPE }
 
enum  delete_option_enum { DELETE_QUICK = 1 << 0, DELETE_LOW_PRIORITY = 1 << 1, DELETE_IGNORE = 1 << 2 }
 
enum  Lock_strength { Lock_strength::UPDATE, Lock_strength::SHARE }
 
enum  Locked_row_action { Locked_row_action::DEFAULT = THR_DEFAULT, Locked_row_action::WAIT = THR_WAIT, Locked_row_action::NOWAIT = THR_NOWAIT, Locked_row_action::SKIP = THR_SKIP }
 We will static_cast this one to thr_lock_type. More...
 
enum  PT_joined_table_type {
  JTT_INNER = 0x01, JTT_STRAIGHT = 0x02, JTT_NATURAL = 0x04, JTT_LEFT = 0x08,
  JTT_RIGHT = 0x10, JTT_STRAIGHT_INNER = JTT_STRAIGHT | JTT_INNER, JTT_NATURAL_INNER = JTT_NATURAL | JTT_INNER, JTT_NATURAL_LEFT = JTT_NATURAL | JTT_LEFT,
  JTT_NATURAL_RIGHT = JTT_NATURAL | JTT_RIGHT
}
 Internally there is no CROSS JOIN join type, as cross joins are just a special case of inner joins with a join condition that is always true. More...
 
enum  Ternary_option { Ternary_option::DEFAULT, Ternary_option::ON, Ternary_option::OFF }
 
enum  On_duplicate { On_duplicate::ERROR, On_duplicate::IGNORE_DUP, On_duplicate::REPLACE_DUP }
 
enum  Virtual_or_stored { Virtual_or_stored::VIRTUAL, Virtual_or_stored::STORED }
 
enum  Int_type : ulong {
  Int_type::INT = MYSQL_TYPE_LONG, Int_type::TINYINT = MYSQL_TYPE_TINY, Int_type::SMALLINT = MYSQL_TYPE_SHORT, Int_type::MEDIUMINT = MYSQL_TYPE_INT24,
  Int_type::BIGINT = MYSQL_TYPE_LONGLONG
}
 
enum  Numeric_type : ulong { Numeric_type::DECIMAL = MYSQL_TYPE_NEWDECIMAL, Numeric_type::FLOAT = MYSQL_TYPE_FLOAT, Numeric_type::DOUBLE = MYSQL_TYPE_DOUBLE }
 
enum  Show_cmd_type { Show_cmd_type::STANDARD, Show_cmd_type::FULL_SHOW, Show_cmd_type::EXTENDED_SHOW, Show_cmd_type::EXTENDED_FULL_SHOW }
 
enum  Explain_format_type { Explain_format_type::TRADITIONAL, Explain_format_type::JSON, Explain_format_type::TREE }
 

Typedef Documentation

◆ Create_col_name_list

◆ PT_alter_tablespace_option_base

Enumeration Type Documentation

◆ delete_option_enum

Enumerator
DELETE_QUICK 
DELETE_LOW_PRIORITY 
DELETE_IGNORE 

◆ enum_drop_mode

Enumerator
DROP_DEFAULT 
DROP_CASCADE 
DROP_RESTRICT 

◆ enum_yes_no_unknown

Enumerator
TVL_YES 
TVL_NO 
TVL_UNKNOWN 

◆ Explain_format_type

enum Explain_format_type
strong
Enumerator
TRADITIONAL 
JSON 
TREE 

◆ Int_type

enum Int_type : ulong
strong
Enumerator
INT 
TINYINT 
SMALLINT 
MEDIUMINT 
BIGINT 

◆ Lock_strength

enum Lock_strength
strong
Enumerator
UPDATE 
SHARE 

◆ Locked_row_action

enum Locked_row_action
strong

We will static_cast this one to thr_lock_type.

Enumerator
DEFAULT 
WAIT 
NOWAIT 
SKIP 

◆ Numeric_type

enum Numeric_type : ulong
strong
Enumerator
DECIMAL 
FLOAT 
DOUBLE 

◆ olap_type

enum olap_type
Enumerator
UNSPECIFIED_OLAP_TYPE 
ROLLUP_TYPE 

◆ On_duplicate

enum On_duplicate
strong
Enumerator
ERROR 
IGNORE_DUP 
REPLACE_DUP 

◆ PT_joined_table_type

Internally there is no CROSS JOIN join type, as cross joins are just a special case of inner joins with a join condition that is always true.

The only difference is the nesting, and that is handled by the parser.

Enumerator
JTT_INNER 
JTT_STRAIGHT 
JTT_NATURAL 
JTT_LEFT 
JTT_RIGHT 
JTT_STRAIGHT_INNER 
JTT_NATURAL_INNER 
JTT_NATURAL_LEFT 
JTT_NATURAL_RIGHT 

◆ Show_cmd_type

enum Show_cmd_type
strong
Enumerator
STANDARD 
FULL_SHOW 
EXTENDED_SHOW 
EXTENDED_FULL_SHOW 

◆ Ternary_option

enum Ternary_option
strong
Enumerator
DEFAULT 
ON 
OFF 

◆ Virtual_or_stored

enum Virtual_or_stored
strong
Enumerator
VIRTUAL 
STORED