MySQL  8.0.19
Source Code Documentation
parser_yystype.h
Go to the documentation of this file.
1 /* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
2 
3  This program is free software; you can redistribute it and/or modify
4  it under the terms of the GNU General Public License, version 2.0,
5  as published by the Free Software Foundation.
6 
7  This program is also distributed with certain software (including
8  but not limited to OpenSSL) that is licensed under separate terms,
9  as designated in a particular file or component or in included license
10  documentation. The authors of MySQL hereby grant you an additional
11  permission to link the program and your derivative works with the
12  separately licensed software that they have included with MySQL.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License, version 2.0, for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program; if not, write to the Free Software
21  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
22 
23 #ifndef PARSER_YYSTYPE_INCLUDED
24 #define PARSER_YYSTYPE_INCLUDED
25 
26 #include "my_base.h"
27 #include "my_time.h" // interval_type
28 #include "sql/handler.h"
29 #include "sql/item_create.h" // Cast_target
30 #include "sql/key_spec.h" // keytype, fk_option
31 #include "sql/lexer_yystype.h" // Lexer_yystype
32 #include "sql/opt_hints.h" // opt_hints_enum
33 #include "sql/parse_tree_hints.h"
34 #include "sql/resourcegroups/platform/thread_attrs_api.h" // ...::cpu_id_t
35 #include "sql/resourcegroups/resource_group_basic_types.h" // resourcegroups::Range
36 #include "sql/sql_admin.h" // Sql_cmd_analyze_table::Histogram_command
37 #include "sql/sql_alter.h" // Alter_info::enum_with_validation
38 #include "sql/sql_exchange.h" // Line_separators, enum_filetype
39 #include "sql/sql_get_diagnostics.h" // Diagnostics_information::Which_area
40 #include "sql/sql_signal.h" // enum_condition_item_name
41 #include "sql/table.h" // index_hint_type
42 #include "sql/trigger_def.h" // enum_trigger_order_type
43 #include "sql/window_lex.h" // enum_window_frame_unit
44 #include "sql/xa.h" // xa_option_words
45 #include "sql_string.h" // String
46 #include "thr_lock.h" // thr_lock_type
47 
50 class Parse_tree_root;
51 class Table_ident;
52 enum class Acl_type;
53 enum class enum_ha_read_modes;
54 enum class enum_jt_column;
55 enum class enum_jtc_on : uint16;
56 enum class enum_key_algorithm;
57 enum class partition_type;
60 struct udf_func;
61 
62 typedef Parse_tree_node_tmpl<Alter_tablespace_parse_context>
64 
66 
67 enum class enum_ha_read_modes;
68 
69 /**
70  used by the parser to store internal variable name
71 */
75 };
76 
78  DROP_DEFAULT, // mode is not specified
79  DROP_CASCADE, // CASCADE option
80  DROP_RESTRICT // RESTRICT option
81 };
82 
84 
85 struct Cast_type {
88  const char *length;
89  const char *dec;
90 };
91 
92 struct Limit_options {
95  /*
96  true for "LIMIT offset,limit" and false for "LIMIT limit OFFSET offset"
97  */
99 };
100 
103 
104  bool merge(const Query_options &a, const Query_options &b);
105  bool save_to(Parse_context *);
106 };
107 
109  DELETE_QUICK = 1 << 0,
111  DELETE_IGNORE = 1 << 2
112 };
113 
114 enum class Lock_strength { UPDATE, SHARE };
115 
116 /// We will static_cast this one to thr_lock_type.
117 enum class Locked_row_action {
119  WAIT = THR_WAIT,
120  NOWAIT = THR_NOWAIT,
121  SKIP = THR_SKIP
122 };
123 
124 /**
125  Internally there is no CROSS JOIN join type, as cross joins are just a
126  special case of inner joins with a join condition that is always true. The
127  only difference is the nesting, and that is handled by the parser.
128 */
130  JTT_INNER = 0x01,
131  JTT_STRAIGHT = 0x02,
132  JTT_NATURAL = 0x04,
133  JTT_LEFT = 0x08,
134  JTT_RIGHT = 0x10,
135 
140 };
141 
143 
144 enum class Ternary_option { DEFAULT, ON, OFF };
145 
147 
149 
150 enum class Int_type : ulong {
156 };
157 
158 enum class Numeric_type : ulong {
162 };
163 
164 enum class Show_cmd_type {
165  STANDARD,
166  FULL_SHOW,
169 };
170 
171 /**
172  std::optional-like wrapper for simple bitmaps (usually enums of binary flags)
173 
174  This template wraps trivial bitmap implementations to add two features:
175 
176  * std::optional-like behavior -- the "unset" flag, so we don't have
177  to inject a special "invalid" value into existent enum types, this
178  wrapper class does that for us.
179 
180  * the merge() function to merge two bitmap values in a type-safe way.
181 
182  @tparam Enum Usually a enum type which simulates a bit set.
183  @tparam Default_value A default Enum value for "unset" variables.
184 
185 */
186 template <typename Enum, Enum Default_value>
187 class Enum_parser {
188  public:
189  /// Constructor-like function
190  ///
191  /// The Enum_parser<> class is designed for use as a field of restricted
192  /// unions, so it can't have C++ constructors.
193  void init() { m_is_set = false; }
194 
195  /// False if the wrapped Enum value is not assigned.
196  bool is_set() const { return m_is_set; }
197 
198  /// Return the wrapped Enum value.
199  ///
200  /// @note The wrapped value must be assigned.
201  Enum get() const {
202  DBUG_ASSERT(is_set());
203  return m_enum;
204  }
205 
206  /// Return the wrapped Enum value (if any) or the Default_value.
207  Enum get_or_default() const { return is_set() ? get() : Default_value; }
208 
209  /// Assign the wrapped Enum value.
210  void set(Enum value) {
211  m_is_set = true;
212  m_enum = value;
213  }
214 
215  /// Merge the x bit set into the wrapped Enum value (if any), or replace it
216  void merge(const Enum_parser &x) {
217  if (x.is_set()) set(x.get());
218  }
219 
220  private:
221  bool m_is_set; ///< True if m_enum is assigned with some value
222  Enum m_enum; ///< The wrapped Enum value.
223 };
224 
225 template <typename T>
228  T value; ///< undefined if is_default is true
229 };
230 
232 
233 // Compatibility with Bison 2.3:
234 #ifndef YYSTYPE_IS_DECLARED
235 #define YYSTYPE_IS_DECLARED 1
236 #endif // YYSTYPE_IS_DECLARED
237 
238 union YYSTYPE {
239  Lexer_yystype lexer; // terminal values from the lexical scanner
240  /*
241  Hint parser section (sql_hints.yy)
242  */
244  class PT_hint *hint;
249 
250  /*
251  Main parser section (sql_yacc.yy)
252  */
253  int num;
277  const char *c_str;
278  struct {
282  struct {
283  const char *length;
284  const char *dec;
285  } precision;
293  struct {
295  } spblock;
315  struct {
321  class PT_subselect *subselect;
330  class PT_group *group;
336  class PT_border *bound;
341  class PT_order *order;
356  class PT_set *set;
371 
374  struct {
378  struct {
382  struct {
383  class PT_item_list *column_list;
386  struct {
387  class PT_item_list *column_list;
390  struct {
391  class Item *offset;
393  } lead_lag_info;
403  struct {
424  struct {
427  } opt_part_values;
430  List<char> *name_list; // TODO: merge with string_list
435  class PT_add_partition *add_partition_rule;
436  struct {
439  } mi_type;
451  ulong field_option; // 0 or combinations of UNSIGNED_FLAG and ZEROFILL_FLAG
453  class PT_type *type;
455  struct {
456  const char *expr_start;
458  } sp_default;
460  struct {
463  } fk_options;
466  struct {
472  } fk_references;
476  struct {
487  struct jt_on_response {
490  } jt_on_response;
491  struct {
497  struct {
500  } wild_or_where;
502  struct {
506  } histogram;
517  struct Algo_and_lock {
524  void init() {
525  algo.init();
526  lock.init();
527  }
539  void init() {
540  algo.init();
541  lock.init();
542  validation.init();
543  }
545  algo.merge(x.algo);
546  lock.merge(x.lock);
548  }
550  struct {
553  } alter_list;
554  struct {
555  Algo_and_lock_and_validation flags;
565  struct {
568  } vcpu_range_type;
576  struct {
581  struct {
585  } load_set_list;
588  struct {
592 };
593 
594 static_assert(sizeof(YYSTYPE) <= 32, "YYSTYPE is too big");
595 
596 #endif // PARSER_YYSTYPE_INCLUDED
PT_group
Definition: parse_tree_nodes.h:633
On_duplicate::REPLACE_DUP
@ REPLACE_DUP
enum_ha_read_modes
enum_ha_read_modes
Definition: sql_handler.h:34
YYSTYPE::select_options
Query_options select_options
Definition: parser_yystype.h:326
Int_type::SMALLINT
@ SMALLINT
Enum_parser::init
void init()
Constructor-like function.
Definition: parser_yystype.h:193
Alter_info::ALTER_VALIDATION_DEFAULT
@ ALTER_VALIDATION_DEFAULT
Default value, used when it's not specified in the statement.
Definition: sql_alter.h:372
YYSTYPE::xid
XID * xid
Definition: parser_yystype.h:372
Enum_parser::get_or_default
Enum get_or_default() const
Return the wrapped Enum value (if any) or the Default_value.
Definition: parser_yystype.h:207
YYSTYPE::locking_clause
class PT_locking_clause * locking_clause
Definition: parser_yystype.h:484
YYSTYPE::col_attr_list
Mem_root_array< PT_column_attr_base * > * col_attr_list
Definition: parser_yystype.h:449
YYSTYPE::subselect
class PT_subselect * subselect
Definition: parser_yystype.h:321
Enum_parser::is_set
bool is_set() const
False if the wrapped Enum value is not assigned.
Definition: parser_yystype.h:196
MYSQL_LEX_CSTRING
Definition: mysql_lex_string.h:39
YYSTYPE::derived_table
class PT_derived_table * derived_table
Definition: parser_yystype.h:366
Item
Definition: item.h:665
YYSTYPE::assign_to_keycache
class PT_assign_to_keycache * assign_to_keycache
Definition: parser_yystype.h:558
YYSTYPE::internal_variable_name
class PT_internal_variable_name * internal_variable_name
Definition: parser_yystype.h:345
YYSTYPE::create_table_option
class PT_create_table_option * create_table_option
Definition: parser_yystype.h:442
JTT_NATURAL_RIGHT
@ JTT_NATURAL_RIGHT
Definition: parser_yystype.h:139
YYSTYPE::stmt_info_item_name
Statement_information_item::Name stmt_info_item_name
Definition: parser_yystype.h:307
YYSTYPE::stmt_info_list
List< Statement_information_item > * stmt_info_list
Definition: parser_yystype.h:308
Mem_root_array< Table_ident * >
YYSTYPE::opt_key_algo
enum_key_algorithm opt_key_algo
Definition: parser_yystype.h:431
trigger_def.h
This file defines all base public constants related to triggers in MySQL.
PT_joined_table_type
PT_joined_table_type
Internally there is no CROSS JOIN join type, as cross joins are just a special case of inner joins wi...
Definition: parser_yystype.h:129
YYSTYPE::conds
int conds
Definition: parser_yystype.h:294
YYSTYPE::insert_update_values_reference
struct YYSTYPE::@88 insert_update_values_reference
YYSTYPE::flags
Algo_and_lock_and_validation flags
Definition: parser_yystype.h:551
YYSTYPE::cond_info_list
List< Condition_information_item > * cond_info_list
Definition: parser_yystype.h:311
PT_with_clause
Represents the WITH clause: WITH [...], [...] SELECT ..., ^^^^^^^^^^^^^^^^^.
Definition: parse_tree_nodes.h:335
YYSTYPE::subquery
class PT_subquery * subquery
Definition: parser_yystype.h:369
TVL_UNKNOWN
@ TVL_UNKNOWN
Definition: parser_yystype.h:65
PT_subpartition
Node for the SUBRAPTITION clause of CREATE/ALTER TABLE
Definition: parse_tree_partitions.h:259
YYSTYPE::wild
LEX_STRING wild
Definition: parser_yystype.h:498
YYSTYPE::alter_table_algorithm
Alter_info::enum_alter_table_algorithm alter_table_algorithm
Definition: parser_yystype.h:515
YYSTYPE::order_direction
enum_order order_direction
Definition: parser_yystype.h:511
YYSTYPE::hint_param_table
Hint_param_table hint_param_table
Definition: parser_yystype.h:247
lexer_yystype.h
YYSTYPE::item
Item * item
Definition: parser_yystype.h:260
my_base.h
YYSTYPE::key_usage_list
List< Index_hint > * key_usage_list
Definition: parser_yystype.h:320
YYSTYPE::da_condition_item_name
enum_condition_item_name da_condition_item_name
Definition: parser_yystype.h:303
YYSTYPE::item_num
Item_num * item_num
Definition: parser_yystype.h:261
PT_column_attr_base
Base class for all column attributes in CREATE/ALTER TABLE
Definition: parse_tree_column_attrs.h:63
YYSTYPE::diag_area
Diagnostics_information::Which_area diag_area
Definition: parser_yystype.h:304
Value_or_default::value
T value
undefined if is_default is true
Definition: parser_yystype.h:228
YYSTYPE::window
class PT_window * window
Definition: parser_yystype.h:332
sp_head
sp_head represents one instance of a stored program.
Definition: sp_head.h:379
PT_with_list
Represents the WITH list.
Definition: parse_tree_nodes.h:315
YYSTYPE::window_frame
class PT_frame * window_frame
Definition: parser_yystype.h:333
YYSTYPE::bound
class PT_border * bound
Definition: parser_yystype.h:336
On_duplicate
On_duplicate
Definition: parser_yystype.h:146
YYSTYPE::space_separated_alter_table_opts
Mem_root_array< PT_ddl_table_option * > * space_separated_alter_table_opts
Definition: parser_yystype.h:444
YYSTYPE::m_yes_no_unk
enum enum_yes_no_unknown m_yes_no_unk
Definition: parser_yystype.h:302
YYSTYPE::signal_item_list
Set_signal_information * signal_item_list
Definition: parser_yystype.h:313
JTT_NATURAL_INNER
@ JTT_NATURAL_INNER
Definition: parser_yystype.h:137
YYSTYPE::opt_restrict
enum_drop_mode opt_restrict
Definition: parser_yystype.h:440
ROLLUP_TYPE
@ ROLLUP_TYPE
Definition: parser_yystype.h:83
resourcegroups::platform::cpu_id_t
uint32_t cpu_id_t
Definition: thread_attrs_api.h:33
sql_alter.h
Set_signal_information
Set_signal_information is a container used in the parsed tree to represent the collection of assignme...
Definition: sql_signal.h:67
index_hint_type
index_hint_type
Definition: table.h:1296
YYSTYPE::expr
Item * expr
Definition: parser_yystype.h:457
YYSTYPE::table_reference
class PT_table_reference * table_reference
Definition: parser_yystype.h:342
PT_hint
The class is a base class for representation of the different types of the hints.
Definition: parse_tree_hints.h:57
YYSTYPE::isolation_level
class PT_isolation_level * isolation_level
Definition: parser_yystype.h:352
YYSTYPE::type
class PT_base_index_option * type
Definition: parser_yystype.h:405
PT_start_option_value_list_following_option_type
Definition: parse_tree_nodes.h:1129
Field_separators
Helper for the sql_exchange class.
Definition: sql_exchange.h:50
PT_key_part_specification
A key part specification.
Definition: parse_tree_nodes.h:2049
YYSTYPE::order_expr
class PT_order_expr * order_expr
Definition: parser_yystype.h:323
Statement_information_item::Name
Name
The name of a statement information item.
Definition: sql_get_diagnostics.h:176
YYSTYPE::values
PT_part_values * values
Definition: parser_yystype.h:426
YYSTYPE::var_type
enum enum_var_type var_type
Definition: parser_yystype.h:270
PT_column_def
Definition: parse_tree_nodes.h:2762
PT_isolation_level
Definition: parse_tree_nodes.h:1088
YYSTYPE::Algo_and_lock_and_validation::validation
Enum_parser< Alter_info::enum_with_validation, Alter_info::ALTER_VALIDATION_DEFAULT > validation
Definition: parser_yystype.h:538
YYSTYPE::hint_param_index_list
Hint_param_index_list hint_param_index_list
Definition: parser_yystype.h:246
YYSTYPE::sub_part_list
Mem_root_array< PT_subpartition * > * sub_part_list
Definition: parser_yystype.h:418
CHARSET_INFO
Definition: m_ctype.h:354
YYSTYPE::load_set_list
struct YYSTYPE::@87 load_set_list
YYSTYPE::windows
class PT_window_list * windows
Definition: parser_yystype.h:331
YYSTYPE::limit_clause
class PT_limit_clause * limit_clause
Definition: parser_yystype.h:327
Limit_options
Definition: parser_yystype.h:92
THR_DEFAULT
@ THR_DEFAULT
Definition: thr_lock.h:96
PT_partition_option
Base class for all partition options.
Definition: parse_tree_partitions.h:81
sys_var_with_base::var
sys_var * var
Definition: parser_yystype.h:73
Ternary_option
Ternary_option
Definition: parser_yystype.h:144
Explain_format_type::JSON
@ JSON
YYSTYPE::vars
int vars
Definition: parser_yystype.h:294
YYSTYPE::tx_isolation
enum enum_tx_isolation tx_isolation
Definition: parser_yystype.h:276
YYSTYPE::cond_info_item_name
Condition_information_item::Name cond_info_item_name
Definition: parser_yystype.h:310
YYSTYPE::jt_on_response
struct YYSTYPE::jt_on_response jt_on_response
YYSTYPE::filetype
enum enum_filetype filetype
Definition: parser_yystype.h:300
YYSTYPE::resource_group_vcpu_list_type
Mem_root_array< resourcegroups::Range > * resource_group_vcpu_list_type
Definition: parser_yystype.h:569
MYSQL_TYPE_FLOAT
@ MYSQL_TYPE_FLOAT
Definition: field_types.h:61
YYSTYPE::value
Item * value
Definition: parser_yystype.h:376
YYSTYPE::hint_param_table_list
Hint_param_table_list hint_param_table_list
Definition: parser_yystype.h:248
YYSTYPE::actions
Mem_root_array< PT_ddl_table_option * > * actions
Definition: parser_yystype.h:552
PT_locking_clause_list
Definition: parse_tree_nodes.h:721
YYSTYPE::opt_match_clause
fk_match_opt opt_match_clause
Definition: parser_yystype.h:464
sql_string.h
YYSTYPE::type
partition_type type
Definition: parser_yystype.h:425
partition_type
partition_type
An enum and a struct to handle partitioning and subpartitioning.
Definition: partition_element.h:32
YYSTYPE::end
resourcegroups::platform::cpu_id_t end
Definition: parser_yystype.h:567
Parse_tree_node_tmpl
Base class for parse tree nodes (excluding the Parse_tree_root hierarchy)
Definition: parse_tree_node_base.h:111
YYSTYPE::cond_info_item
Condition_information_item * cond_info_item
Definition: parser_yystype.h:309
enum_jt_column
enum_jt_column
Type of columns for JSON_TABLE function.
Definition: table_function.h:180
YYSTYPE::create_index_stmt
class PT_create_index_stmt * create_index_stmt
Definition: parser_yystype.h:400
String
Using this class is fraught with peril, and you need to be very careful when doing so.
Definition: sql_string.h:164
Cast_type::dec
const char * dec
Definition: parser_yystype.h:89
YYSTYPE::resource_group_flag_type
bool resource_group_flag_type
Definition: parser_yystype.h:572
YYSTYPE::sp_default
struct YYSTYPE::@76 sp_default
YYSTYPE::param_marker
class Item_param * param_marker
Definition: parser_yystype.h:363
enum_var_type
enum_var_type
Definition: set_var.h:87
sql_admin.h
YYSTYPE::add_partition_rule
class PT_add_partition * add_partition_rule
Definition: parser_yystype.h:435
Enum_parser::set
void set(Enum value)
Assign the wrapped Enum value.
Definition: parser_yystype.h:210
window_lex.h
YYSTYPE::column_list
class PT_item_list * column_list
Definition: parser_yystype.h:379
Parse_tree_root
Base class for all top-level nodes of SQL statements.
Definition: parse_tree_nodes.h:155
YYSTYPE::into_destination
class PT_into_destination * into_destination
Definition: parser_yystype.h:359
Explain_format_type::TRADITIONAL
@ TRADITIONAL
MYSQL_TYPE_LONG
@ MYSQL_TYPE_LONG
Definition: field_types.h:60
YYSTYPE::alter_table_lock
Alter_info::enum_alter_table_lock alter_table_lock
Definition: parser_yystype.h:516
YYSTYPE::variable
struct sys_var_with_base variable
Definition: parser_yystype.h:269
YYSTYPE::Algo_and_lock::algo
Enum_parser< Alter_info::enum_alter_table_algorithm, Alter_info::ALTER_TABLE_ALGORITHM_DEFAULT > algo
Definition: parser_yystype.h:520
YYSTYPE::lex_cstr
LEX_CSTRING lex_cstr
Definition: parser_yystype.h:256
DROP_DEFAULT
@ DROP_DEFAULT
Definition: parser_yystype.h:78
YYSTYPE::item_list2
class PT_item_list * item_list2
Definition: parser_yystype.h:322
PT_part_definition
Node for the PARTITION clause of CREATE/ALTER TABLE.
Definition: parse_tree_partitions.h:382
YYSTYPE::text_literal
class PTI_text_literal * text_literal
Definition: parser_yystype.h:364
YYSTYPE::storage_media
ha_storage_media storage_media
Definition: parser_yystype.h:448
sql_signal.h
opt_hints_enum
opt_hints_enum
Hint types, MAX_HINT_ENUM should be always last.
Definition: opt_hints.h:62
DELETE_QUICK
@ DELETE_QUICK
Definition: parser_yystype.h:109
YYSTYPE::empty
struct jt_on_response empty
Definition: parser_yystype.h:493
YYSTYPE::key_type
keytype key_type
Definition: parser_yystype.h:271
Locked_row_action
Locked_row_action
We will static_cast this one to thr_lock_type.
Definition: parser_yystype.h:117
PT_option_value_no_option_type
Definition: parse_tree_nodes.h:858
Limit_options::is_offset_first
bool is_offset_first
Definition: parser_yystype.h:98
YYSTYPE::type
class PT_type * type
Definition: parser_yystype.h:453
YYSTYPE::string_list
List< String > * string_list
Definition: parser_yystype.h:263
YYSTYPE::num_buckets
int num_buckets
Definition: parser_yystype.h:505
YYSTYPE::column_value_pair
struct YYSTYPE::@68 column_value_pair
YYSTYPE::column_row_value_list_pair
struct YYSTYPE::@70 column_row_value_list_pair
YYSTYPE::jt_column_type
enum_jt_column jt_column_type
Definition: parser_yystype.h:496
value
const string value("\"Value\"")
YYSTYPE::charset_with_opt_binary
struct YYSTYPE::@64 charset_with_opt_binary
PT_insert_values_list
Definition: parse_tree_nodes.h:1847
YYSTYPE::preload_keys
class PT_preload_keys * preload_keys
Definition: parser_yystype.h:561
parse_tree_hints.h
UNSPECIFIED_OLAP_TYPE
@ UNSPECIFIED_OLAP_TYPE
Definition: parser_yystype.h:83
udf_func
Definition: sql_udf.h:43
YYSTYPE::opt_part_values
struct YYSTYPE::@74 opt_part_values
LEX_USER
Definition: table.h:2366
YYSTYPE::start
resourcegroups::platform::cpu_id_t start
Definition: parser_yystype.h:566
YYSTYPE::error
struct jt_on_response error
Definition: parser_yystype.h:492
YYSTYPE::field_def
class PT_field_def_base * field_def
Definition: parser_yystype.h:459
Index_hint
Definition: sql_lex.h:420
YYSTYPE::set_var_list
PT_item_list * set_var_list
Definition: parser_yystype.h:582
YYSTYPE::Algo_and_lock::init
void init()
Definition: parser_yystype.h:524
enum_filetype
enum_filetype
Definition: sql_exchange.h:29
YYSTYPE::top_level_node
Parse_tree_root * top_level_node
Definition: parser_yystype.h:395
MYSQL_TYPE_INT24
@ MYSQL_TYPE_INT24
Definition: field_types.h:66
YYSTYPE::frame_extent
class PT_borders * frame_extent
Definition: parser_yystype.h:335
PT_field_def_base
Base class for both generated and regular column definitions.
Definition: parse_tree_column_attrs.h:834
Show_cmd_type::EXTENDED_FULL_SHOW
@ EXTENDED_FULL_SHOW
YYSTYPE::keycache_list
Mem_root_array< PT_assign_to_keycache * > * keycache_list
Definition: parser_yystype.h:559
YYSTYPE::sub_part_definition
class PT_subpartition * sub_part_definition
Definition: parser_yystype.h:417
YYSTYPE::lock_type
thr_lock_type lock_type
Definition: parser_yystype.h:287
YYSTYPE::insert_query_expression
class PT_query_primary * insert_query_expression
Definition: parser_yystype.h:388
Table_ident
Definition: sql_lex.h:250
DELETE_IGNORE
@ DELETE_IGNORE
Definition: parser_yystype.h:111
YYSTYPE::opt_index_lock_and_algorithm
struct YYSTYPE::Algo_and_lock opt_index_lock_and_algorithm
PT_order_list
Definition: parse_tree_nodes.h:210
Explain_format_type
Explain_format_type
Definition: parser_yystype.h:231
YYSTYPE::jt_on_response::default_string
Item * default_string
Definition: parser_yystype.h:489
thread_attrs_api.h
YYSTYPE::line_separators
Line_separators line_separators
Definition: parser_yystype.h:357
PT_part_values
Base class for VALUES partitioning clauses.
Definition: parse_tree_partitions.h:318
YYSTYPE::with_clause
class PT_with_clause * with_clause
Definition: parser_yystype.h:411
YYSTYPE::set_expr_list
PT_item_list * set_expr_list
Definition: parser_yystype.h:583
JTT_STRAIGHT
@ JTT_STRAIGHT
Definition: parser_yystype.h:131
YYSTYPE::wild_or_where
struct YYSTYPE::@81 wild_or_where
YYSTYPE::mi_type
struct YYSTYPE::@75 mi_type
YYSTYPE::visibility
bool visibility
Definition: parser_yystype.h:410
YYSTYPE::partition_clause
class PT_partition * partition_clause
Definition: parser_yystype.h:434
YYSTYPE::spcondvalue
class sp_condition_value * spcondvalue
Definition: parser_yystype.h:292
YYSTYPE::part_values
class PT_part_values * part_values
Definition: parser_yystype.h:423
YYSTYPE::trg_characteristics
struct YYSTYPE::@67 trg_characteristics
Int_type::INT
@ INT
handler.h
Lock_strength::UPDATE
@ UPDATE
PT_locking_clause
Definition: parse_tree_nodes.h:658
YYSTYPE::simple_string
char * simple_string
Definition: parser_yystype.h:259
HA_CHECK_OPT::sql_flags
uint sql_flags
Definition: handler.h:3197
Alter_info::enum_alter_table_lock
enum_alter_table_lock
The different values of the LOCK clause.
Definition: sql_alter.h:348
row_type
row_type
Definition: handler.h:665
THR_SKIP
@ THR_SKIP
Definition: thr_lock.h:96
YYSTYPE::anchor_trigger_name
LEX_CSTRING anchor_trigger_name
Definition: parser_yystype.h:317
Explain_format_type::TREE
@ TREE
PT_alter_table_standalone_action
Definition: parse_tree_nodes.h:3469
Item_string
Definition: item.h:4183
YYSTYPE::lex_str_ptr
LEX_STRING * lex_str_ptr
Definition: parser_yystype.h:257
Numeric_type
Numeric_type
Definition: parser_yystype.h:158
TVL_NO
@ TVL_NO
Definition: parser_yystype.h:65
opt_hints.h
PT_derived_table
Definition: parse_tree_nodes.h:482
YYSTYPE::show_cmd_type
Show_cmd_type show_cmd_type
Definition: parser_yystype.h:501
YYSTYPE::ha_read_mode
enum_ha_read_modes ha_read_mode
Definition: parser_yystype.h:275
Value_or_default
Definition: parser_yystype.h:226
enum_yes_no_unknown
enum_yes_no_unknown
Definition: parser_yystype.h:65
Virtual_or_stored::STORED
@ STORED
YYSTYPE::table
Table_ident * table
Definition: parser_yystype.h:258
PT_role_or_privilege
Definition: parse_tree_nodes.h:2925
YYSTYPE::curs
int curs
Definition: parser_yystype.h:294
Limit_options::opt_offset
Item * opt_offset
Definition: parser_yystype.h:94
YYSTYPE::part_def_list
Mem_root_array< PT_part_definition * > * part_def_list
Definition: parser_yystype.h:429
TVL_YES
@ TVL_YES
Definition: parser_yystype.h:65
Locked_row_action::WAIT
@ WAIT
MYSQL_TYPE_NEWDECIMAL
@ MYSQL_TYPE_NEWDECIMAL
Definition: field_types.h:79
xid_t
struct xid_t is binary compatible with the XID structure as in the X/Open CAE Specification,...
Definition: xa.h:213
Diagnostics_information
Represents the diagnostics information to be obtained.
Definition: sql_get_diagnostics.h:72
PT_alter_table_action
Definition: parse_tree_nodes.h:3107
YYSTYPE::common_table_expr
class PT_common_table_expr * common_table_expr
Definition: parser_yystype.h:413
Item_num
Definition: item.h:3100
resource_group_basic_types.h
YYSTYPE::index_name_and_type
struct YYSTYPE::@73 index_name_and_type
Enum_parser::get
Enum get() const
Return the wrapped Enum value.
Definition: parser_yystype.h:201
YYSTYPE::expr_start
const char * expr_start
Definition: parser_yystype.h:456
YYSTYPE::stmt_info_item
Statement_information_item * stmt_info_item
Definition: parser_yystype.h:306
JTT_NATURAL
@ JTT_NATURAL
Definition: parser_yystype.h:132
MYSQL_TYPE_SHORT
@ MYSQL_TYPE_SHORT
Definition: field_types.h:59
PT_partition
Node for the PARTITION definition clause.
Definition: parse_tree_partitions.h:590
sp_name
Definition: sp_head.h:119
PT_sub_partition
Base class for all subpartitioning clause nodes.
Definition: parse_tree_partitions.h:418
YYSTYPE::fk_delete_opt
fk_option fk_delete_opt
Definition: parser_yystype.h:462
resourcegroups::Type
Type
Definition: resource_group_basic_types.h:32
YYSTYPE::cast_type
struct Cast_type cast_type
Definition: parser_yystype.h:286
YYSTYPE::index_hint
enum index_hint_type index_hint
Definition: parser_yystype.h:299
YYSTYPE::dec
const char * dec
Definition: parser_yystype.h:284
YYSTYPE::adm_partition
class PT_adm_partition * adm_partition
Definition: parser_yystype.h:560
PT_start_option_value_list
Definition: parse_tree_nodes.h:948
Locked_row_action::NOWAIT
@ NOWAIT
Numeric_type::DECIMAL
@ DECIMAL
PT_subquery
Definition: parse_tree_nodes.h:1660
YYSTYPE::ts_options
Mem_root_array< PT_alter_tablespace_option_base * > * ts_options
Definition: parser_yystype.h:564
YYSTYPE::table_alias
LEX_CSTRING table_alias
Definition: parser_yystype.h:589
item_create.h
YYSTYPE::lead_lag_info
struct YYSTYPE::@72 lead_lag_info
Show_cmd_type::FULL_SHOW
@ FULL_SHOW
YYSTYPE::item_list
List< Item > * item_list
Definition: parser_yystype.h:262
YYSTYPE::set_expr_str
String * set_expr_str
Definition: parser_yystype.h:579
YYSTYPE::lex_str_list
Mem_root_array_YY< LEX_STRING > lex_str_list
Definition: parser_yystype.h:409
Int_type::TINYINT
@ TINYINT
YYSTYPE::alter_list
struct YYSTYPE::@83 alter_list
column_format_type
column_format_type
Definition: field.h:186
enum_null_treatment
enum_null_treatment
Cf.
Definition: window_lex.h:57
YYSTYPE::int_type
Int_type int_type
Definition: parser_yystype.h:452
On_duplicate::IGNORE_DUP
@ IGNORE_DUP
PT_common_table_expr
Represents an element of the WITH list: WITH [...], [...] SELECT ..., ^ or ^ i.e.
Definition: parse_tree_nodes.h:249
YYSTYPE::option_value_no_option_type
class PT_option_value_no_option_type * option_value_no_option_type
Definition: parser_yystype.h:348
PT_set
Definition: parse_tree_nodes.h:1181
YYSTYPE::ordering_clause
enum enum_trigger_order_type ordering_clause
Definition: parser_yystype.h:316
Item_param
Placeholder ('?') of prepared statement.
Definition: item.h:3649
JTT_NATURAL_LEFT
@ JTT_NATURAL_LEFT
Definition: parser_yystype.h:138
YYSTYPE::opt_delete_option
delete_option_enum opt_delete_option
Definition: parser_yystype.h:398
YYSTYPE::hint_list
class PT_hint_list * hint_list
Definition: parser_yystype.h:245
YYSTYPE::lex
LEX * lex
Definition: parser_yystype.h:297
YYSTYPE::lexer
Lexer_yystype lexer
Definition: parser_yystype.h:239
YYSTYPE::m_fk_option
enum fk_option m_fk_option
Definition: parser_yystype.h:301
PT_assign_to_keycache
Definition: parse_tree_nodes.h:4056
YYSTYPE::start_option_value_list_following_option_type
class PT_start_option_value_list_following_option_type * start_option_value_list_following_option_type
Definition: parser_yystype.h:354
YYSTYPE::opt_create_table_options
Mem_root_array< PT_create_table_option * > * opt_create_table_options
Definition: parser_yystype.h:477
YYSTYPE::diag_info
Diagnostics_information * diag_info
Definition: parser_yystype.h:305
sys_var_with_base
used by the parser to store internal variable name
Definition: parser_yystype.h:72
YYSTYPE::transaction_characteristics
class PT_transaction_characteristics * transaction_characteristics
Definition: parser_yystype.h:353
YYSTYPE::boolfunc2creator
chooser_compare_func_creator boolfunc2creator
Definition: parser_yystype.h:291
YYSTYPE::query_expression
class PT_query_expression * query_expression
Definition: parser_yystype.h:365
YYSTYPE::order
class PT_order * order
Definition: parser_yystype.h:341
YYSTYPE::node
Parse_tree_node * node
Definition: parser_yystype.h:328
Numeric_type::DOUBLE
@ DOUBLE
PT_window_list
Parse tree node for a list of window definitions corresponding to a <window clause> in SQL 2003.
Definition: parse_tree_nodes.h:1414
YYSTYPE::key_usage_element
class Index_hint * key_usage_element
Definition: parser_yystype.h:319
YYSTYPE::partition_option_list
Mem_root_array< PT_partition_option * > * partition_option_list
Definition: parser_yystype.h:416
YYSTYPE::part_type_def
class PT_part_type_def * part_type_def
Definition: parser_yystype.h:433
Cast_target
Cast_target
Definition: item_create.h:53
YYSTYPE::interval_time_st
interval_type interval_time_st
Definition: parser_yystype.h:288
YYSTYPE::length
const char * length
Definition: parser_yystype.h:283
YYSTYPE::flags
decltype(HA_CHECK_OPT::flags) flags
Definition: parser_yystype.h:437
YYSTYPE::lex_user
LEX_USER * lex_user
Definition: parser_yystype.h:267
PT_part_value_item
Base class for partition value nodes: MAX_VALUE values or expressions.
Definition: parse_tree_partitions.h:277
enum_from_first_last
enum_from_first_last
Cf.
Definition: window_lex.h:62
YYSTYPE::default_value
class Item * default_value
Definition: parser_yystype.h:392
sp_condition_value
This class represents condition-value term in DECLARE CONDITION or DECLARE HANDLER statements.
Definition: sp_pcontext.h:131
YYSTYPE::table_constraint_def
class PT_table_constraint_def * table_constraint_def
Definition: parser_yystype.h:401
Locked_row_action::SKIP
@ SKIP
Cast_type::target
Cast_target target
Definition: parser_yystype.h:86
Mem_root_array_YY< LEX_CSTRING >
YYSTYPE::numeric_type
Numeric_type numeric_type
Definition: parser_yystype.h:454
YYSTYPE::group
class PT_group * group
Definition: parser_yystype.h:330
DROP_RESTRICT
@ DROP_RESTRICT
Definition: parser_yystype.h:80
Ternary_option::OFF
@ OFF
YYSTYPE::value_list
class PT_item_list * value_list
Definition: parser_yystype.h:380
YYSTYPE::simple_ident_list
Create_col_name_list simple_ident_list
Definition: parser_yystype.h:414
YYSTYPE
Definition: parser_yystype.h:238
YYSTYPE::with_validation
Alter_info::enum_with_validation with_validation
Definition: parser_yystype.h:512
interval_type
interval_type
Available interval types used in any statement.
Definition: my_time.h:400
fk_match_opt
fk_match_opt
Definition: key_spec.h:57
YYSTYPE::where
Item * where
Definition: parser_yystype.h:499
chooser_compare_func_creator
Comp_creator *(* chooser_compare_func_creator)(bool invert)
Convenience typedef used in this file, and further used by any files including this file.
Definition: item_subselect.h:71
DROP_CASCADE
@ DROP_CASCADE
Definition: parser_yystype.h:79
YYSTYPE::date_time_type
enum_mysql_timestamp_type date_time_type
Definition: parser_yystype.h:289
Condition_information_item::Name
Name
The name of a condition information item.
Definition: sql_get_diagnostics.h:227
YYSTYPE::create_table_tail
struct YYSTYPE::@79 create_table_tail
YYSTYPE::frame_exclusion
class PT_exclusion * frame_exclusion
Definition: parser_yystype.h:337
delete_option_enum
delete_option_enum
Definition: parser_yystype.h:108
YYSTYPE::load_set_element
struct YYSTYPE::@86 load_set_element
YYSTYPE::force_binary
bool force_binary
Definition: parser_yystype.h:280
YYSTYPE::alter_instance_action
enum alter_instance_action_enum alter_instance_action
Definition: parser_yystype.h:399
PT_part_type_def
Definition: parse_tree_partitions.h:468
Show_cmd_type::EXTENDED_SHOW
@ EXTENDED_SHOW
PT_transaction_characteristics
Definition: parse_tree_nodes.h:1096
Cast_type::charset
const CHARSET_INFO * charset
Definition: parser_yystype.h:87
YYSTYPE::alter_table_action
class PT_alter_table_action * alter_table_action
Definition: parser_yystype.h:513
JTT_INNER
@ JTT_INNER
Definition: parser_yystype.h:130
PT_part_value_item_list_paren
Node for a list of partitioning values in VALUES clauses.
Definition: parse_tree_partitions.h:325
Alter_info::ALTER_TABLE_ALGORITHM_DEFAULT
@ ALTER_TABLE_ALGORITHM_DEFAULT
Definition: sql_alter.h:332
PT_select_var_list
Definition: parse_tree_nodes.h:1273
YYSTYPE::fk_update_opt
fk_option fk_update_opt
Definition: parser_yystype.h:461
YYSTYPE::Algo_and_lock_and_validation
Definition: parser_yystype.h:529
YYSTYPE::Algo_and_lock::lock
Enum_parser< Alter_info::enum_alter_table_lock, Alter_info::ALTER_TABLE_LOCK_DEFAULT > lock
Definition: parser_yystype.h:523
YYSTYPE::query_primary
class PT_query_primary * query_primary
Definition: parser_yystype.h:368
Sql_cmd_srs_attributes
Definition: sql_cmd_srs.h:40
sql_exchange.h
YYSTYPE::hndlrs
int hndlrs
Definition: parser_yystype.h:294
Explain_format_type::TREE_WITH_EXECUTE
@ TREE_WITH_EXECUTE
enum_condition_item_name
enum_condition_item_name
This enumeration list all the condition item names of a condition in the SQL condition area.
Definition: sql_signal.h:40
enum_trigger_order_type
enum_trigger_order_type
Possible trigger ordering clause values:
Definition: trigger_def.h:63
PTI_text_literal
Definition: parse_tree_items.h:254
PT_internal_variable_name
Definition: parse_tree_nodes.h:793
Locked_row_action::DEFAULT
@ DEFAULT
YYSTYPE::preload_list
Mem_root_array< PT_preload_keys * > * preload_list
Definition: parser_yystype.h:562
YYSTYPE::limit_options
struct Limit_options limit_options
Definition: parser_yystype.h:325
YYSTYPE::fk_options
struct YYSTYPE::@77 fk_options
sys_var_with_base::base_name
LEX_CSTRING base_name
Definition: parser_yystype.h:74
YYSTYPE::algo_and_lock_and_validation
struct YYSTYPE::Algo_and_lock_and_validation algo_and_lock_and_validation
YYSTYPE::row_type
enum row_type row_type
Definition: parser_yystype.h:273
YYSTYPE::column_list
Create_col_name_list * column_list
Definition: parser_yystype.h:590
MYSQL_TYPE_TINY
@ MYSQL_TYPE_TINY
Definition: field_types.h:58
YYSTYPE::fk_references
struct YYSTYPE::@78 fk_references
Sql_cmd_analyze_table::Histogram_command
Histogram_command
Specifies which (if any) of the commands UPDATE HISTOGRAM or DROP HISTOGRAM that is specified after A...
Definition: sql_admin.h:68
YYSTYPE::virtual_or_stored
Virtual_or_stored virtual_or_stored
Definition: parser_yystype.h:450
YYSTYPE::role_or_privilege_list
Mem_root_array< PT_role_or_privilege * > * role_or_privilege_list
Definition: parser_yystype.h:510
PT_table_reference
Definition: parse_tree_nodes.h:403
YYSTYPE::from_first_last
enum enum_from_first_last from_first_last
Definition: parser_yystype.h:339
Condition_information_item
A condition information item.
Definition: sql_get_diagnostics.h:222
YYSTYPE::index_options
Mem_root_array_YY< PT_base_index_option * > index_options
Definition: parser_yystype.h:408
enum_window_frame_unit
enum_window_frame_unit
Cf.
Definition: window_lex.h:30
YYSTYPE::query_expression_body
class PT_query_expression_body * query_expression_body
Definition: parser_yystype.h:367
Hint_param_table
Definition: parse_tree_hints.h:44
Limit_options::limit
Item * limit
Definition: parser_yystype.h:93
YYSTYPE::table_ident
class Table_ident * table_ident
Definition: parser_yystype.h:396
YYSTYPE::part_value_item_list_paren
class PT_part_value_item_list_paren * part_value_item_list_paren
Definition: parser_yystype.h:421
YYSTYPE::precision
struct YYSTYPE::@65 precision
PT_limit_clause
Definition: parse_tree_nodes.h:388
YYSTYPE::resource_group_type
resourcegroups::Type resource_group_type
Definition: parser_yystype.h:573
YYSTYPE::key_alg
enum ha_key_alg key_alg
Definition: parser_yystype.h:272
YYSTYPE::table_reference_list
Mem_root_array_YY< PT_table_reference * > table_reference_list
Definition: parser_yystype.h:362
YYSTYPE::part_definition
class PT_part_definition * part_definition
Definition: parser_yystype.h:428
MYSQL_TYPE_DOUBLE
@ MYSQL_TYPE_DOUBLE
Definition: field_types.h:62
YYSTYPE::transaction_access_mode
class PT_transaction_access_mode * transaction_access_mode
Definition: parser_yystype.h:351
YYSTYPE::charset
const CHARSET_INFO * charset
Definition: parser_yystype.h:279
Alter_tablespace_parse_context
Definition: parse_tree_nodes.h:4260
Enum_parser
std::optional-like wrapper for simple bitmaps (usually enums of binary flags)
Definition: parser_yystype.h:187
YYSTYPE::c_str
const char * c_str
Definition: parser_yystype.h:277
PT_item_list
Wrapper class for an Item list head, used to allocate Item lists in the parser in a context-independe...
Definition: parse_tree_helpers.h:96
YYSTYPE::num
int num
Definition: parser_yystype.h:253
thr_lock_type
thr_lock_type
Definition: thr_lock.h:50
Diagnostics_information::Which_area
Which_area
Which Diagnostics Area to access.
Definition: sql_get_diagnostics.h:77
Show_cmd_type
Show_cmd_type
Definition: parser_yystype.h:164
YYSTYPE::join_type
enum PT_joined_table_type join_type
Definition: parser_yystype.h:344
YYSTYPE::table_ident_list
Mem_root_array_YY< Table_ident * > table_ident_list
Definition: parser_yystype.h:397
YYSTYPE::sql_flags
decltype(HA_CHECK_OPT::sql_flags) sql_flags
Definition: parser_yystype.h:438
Show_cmd_type::STANDARD
@ STANDARD
YYSTYPE::partition_option
class PT_partition_option * partition_option
Definition: parser_yystype.h:415
ha_storage_media
ha_storage_media
Definition: my_base.h:114
YYSTYPE::offset
class Item * offset
Definition: parser_yystype.h:391
PT_into_destination
Definition: parse_tree_nodes.h:1194
YYSTYPE::histogram
struct YYSTYPE::@82 histogram
YYSTYPE::hint
class PT_hint * hint
Definition: parser_yystype.h:244
PT_window
Parse tree node for a window; just a shallow wrapper for class Window, q.v.
Definition: parse_tree_nodes.h:1393
PT_query_expression_body
Definition: parse_tree_nodes.h:741
alter_instance_action_enum
alter_instance_action_enum
Definition: sql_admin.h:372
key_spec.h
YYSTYPE::string
String * string
Definition: parser_yystype.h:264
PT_table_constraint_def
Definition: parse_tree_nodes.h:2257
MYSQL_LEX_STRING
Definition: mysql_lex_string.h:34
YYSTYPE::thread_id_list_type
Mem_root_array< ulonglong > * thread_id_list_type
Definition: parser_yystype.h:574
YYSTYPE::set_var
Item * set_var
Definition: parser_yystype.h:577
YYSTYPE::action
PT_alter_table_standalone_action * action
Definition: parser_yystype.h:556
enum_drop_mode
enum_drop_mode
Definition: parser_yystype.h:77
my_time.h
LEX
Definition: sql_lex.h:3221
YYSTYPE::jt_on_error_or_empty
struct YYSTYPE::@80 jt_on_error_or_empty
YYSTYPE::table_element
class PT_table_element * table_element
Definition: parser_yystype.h:474
YYSTYPE::option_value_following_option_type
class PT_option_value_following_option_type * option_value_following_option_type
Definition: parser_yystype.h:346
YYSTYPE::reference_list
List< Key_part_spec > * reference_list
Definition: parser_yystype.h:465
YYSTYPE::Algo_and_lock_and_validation::merge
void merge(const Algo_and_lock_and_validation &x)
Definition: parser_yystype.h:544
JTT_RIGHT
@ JTT_RIGHT
Definition: parser_yystype.h:134
YYSTYPE::select_var_ident
class PT_select_var * select_var_ident
Definition: parser_yystype.h:360
YYSTYPE::opt_partitioning
PT_partition * opt_partitioning
Definition: parser_yystype.h:478
YYSTYPE::column
Item * column
Definition: parser_yystype.h:375
PT_type
Base class for all column type nodes.
Definition: parse_tree_column_attrs.h:491
Ternary_option::ON
@ ON
olap_type
olap_type
Definition: parser_yystype.h:83
DBUG_ASSERT
#define DBUG_ASSERT(A)
Definition: my_dbug.h:197
Int_type
Int_type
Definition: parser_yystype.h:150
YYSTYPE::role_or_privilege
class PT_role_or_privilege * role_or_privilege
Definition: parser_yystype.h:509
YYSTYPE::set_expr
Item * set_expr
Definition: parser_yystype.h:578
YYSTYPE::field_separators
Field_separators field_separators
Definition: parser_yystype.h:358
YYSTYPE::lex_cstring_list
Mem_root_array< LEX_CSTRING > * lex_cstring_list
Definition: parser_yystype.h:508
On_duplicate::ERROR
@ ERROR
Enum_parser::m_enum
Enum m_enum
The wrapped Enum value.
Definition: parser_yystype.h:222
Enum_parser::m_is_set
bool m_is_set
True if m_enum is assigned with some value.
Definition: parser_yystype.h:221
YYSTYPE::acl_type
Acl_type acl_type
Definition: parser_yystype.h:507
THR_WAIT
@ THR_WAIT
Definition: thr_lock.h:96
YYSTYPE::field_option
ulong field_option
Definition: parser_yystype.h:451
enum_order
enum_order
Definition: key_spec.h:64
YYSTYPE::ulonglong_number
ulonglong ulonglong_number
Definition: parser_yystype.h:255
YYSTYPE::user_list
List< LEX_USER > * user_list
Definition: parser_yystype.h:268
YYSTYPE::with_list
class PT_with_list * with_list
Definition: parser_yystype.h:412
YYSTYPE::vcpu_range_type
struct YYSTYPE::@85 vcpu_range_type
YYSTYPE::Algo_and_lock_and_validation::lock
Enum_parser< Alter_info::enum_alter_table_lock, Alter_info::ALTER_TABLE_LOCK_DEFAULT > lock
Definition: parser_yystype.h:535
YYSTYPE::set_expr_str_list
List< String > * set_expr_str_list
Definition: parser_yystype.h:584
YYSTYPE::table_element_list
Mem_root_array< PT_table_element * > * table_element_list
Definition: parser_yystype.h:475
YYSTYPE::fk_match_option
fk_match_opt fk_match_option
Definition: parser_yystype.h:469
enum_mysql_timestamp_type
enum_mysql_timestamp_type
Definition: mysql_time.h:44
sql_get_diagnostics.h
YYSTYPE::command
Sql_cmd_analyze_table::Histogram_command command
Definition: parser_yystype.h:503
YYSTYPE::locked_row_action
Locked_row_action locked_row_action
Definition: parser_yystype.h:483
MYSQL_TYPE_LONGLONG
@ MYSQL_TYPE_LONGLONG
Definition: field_types.h:65
PT_hint_list
Definition: parse_tree_hints.h:90
Value_or_default::is_default
bool is_default
Definition: parser_yystype.h:227
ha_rkey_function
ha_rkey_function
Definition: my_base.h:77
PT_select_var
Definition: parse_tree_nodes.h:1238
YYSTYPE::lock_strength
Lock_strength lock_strength
Definition: parser_yystype.h:482
Parse_context
Environment data for the contextualization phase.
Definition: parse_tree_node_base.h:99
PT_order
Definition: parse_tree_nodes.h:646
YYSTYPE::explain_format_type
Explain_format_type explain_format_type
Definition: parser_yystype.h:575
YYSTYPE::olap_type
enum olap_type olap_type
Definition: parser_yystype.h:329
DELETE_LOW_PRIORITY
@ DELETE_LOW_PRIORITY
Definition: parser_yystype.h:110
YYSTYPE::set
class PT_set * set
Definition: parser_yystype.h:356
YYSTYPE::part_value_list
Mem_root_array< PT_part_value_item_list_paren * > * part_value_list
Definition: parser_yystype.h:422
PT_query_expression
Definition: parse_tree_nodes.h:1531
PT_json_table_column
Definition: parse_tree_nodes.h:443
YYSTYPE::option_value_list
class PT_option_value_list_head * option_value_list
Definition: parser_yystype.h:349
YYSTYPE::index_column_list
List< PT_key_part_specification > * index_column_list
Definition: parser_yystype.h:402
YYSTYPE::col_attr
class PT_column_attr_base * col_attr
Definition: parser_yystype.h:446
Query_options::save_to
bool save_to(Parse_context *)
Definition: sql_lex.cc:4648
YYSTYPE::order_list
class PT_order_list * order_list
Definition: parser_yystype.h:324
Query_options
Definition: parser_yystype.h:101
YYSTYPE::is_not_empty
bool is_not_empty
Definition: parser_yystype.h:312
YYSTYPE::opt_query_expression
PT_query_primary * opt_query_expression
Definition: parser_yystype.h:480
Alter_info::enum_with_validation
enum_with_validation
Status of validation clause in ALTER TABLE statement.
Definition: sql_alter.h:366
PT_ddl_table_option
Common base class for CREATE TABLE and ALTER TABLE option nodes.
Definition: parse_tree_nodes.h:2321
YYSTYPE::ternary_option
Ternary_option ternary_option
Definition: parser_yystype.h:441
table.h
YYSTYPE::start_option_value_list
class PT_start_option_value_list * start_option_value_list
Definition: parser_yystype.h:350
PT_frame
Parse tree node for a window's frame, cf.
Definition: parse_tree_nodes.h:1369
YYSTYPE::name
LEX_STRING name
Definition: parser_yystype.h:404
PT_base_index_option
A template-free base class for index options that we can predeclare in sql_lex.h.
Definition: parse_tree_nodes.h:2040
PT_create_table_option
Base class for CREATE TABLE option nodes.
Definition: parse_tree_nodes.h:2335
ulong
unsigned long ulong
Definition: my_inttypes.h:48
YYSTYPE::values_list
class PT_insert_values_list * values_list
Definition: parser_yystype.h:394
YYSTYPE::row_value_list
class PT_insert_values_list * row_value_list
Definition: parser_yystype.h:384
PT_adm_partition
Definition: parse_tree_nodes.h:4070
YYSTYPE::standalone_alter_table_action
struct YYSTYPE::@84 standalone_alter_table_action
PT_table_element
Base class for column/constraint definitions in CREATE TABLE.
Definition: parse_tree_nodes.h:2255
uint16
uint16_t uint16
Definition: my_inttypes.h:64
YYSTYPE::sphead
sp_head * sphead
Definition: parser_yystype.h:298
Int_type::MEDIUMINT
@ MEDIUMINT
Lexer_yystype
Definition: lexer_yystype.h:32
YYSTYPE::jt_column
PT_json_table_column * jt_column
Definition: parser_yystype.h:495
ulonglong
unsigned long long int ulonglong
Definition: my_inttypes.h:55
PT_option_value_list_head
Definition: parse_tree_nodes.h:1017
Lock_strength
Lock_strength
Definition: parser_yystype.h:114
YYSTYPE::select_lex
SELECT_LEX * select_lex
Definition: parser_yystype.h:290
YYSTYPE::column_format
column_format_type column_format
Definition: parser_yystype.h:447
Line_separators
Helper for the sql_exchange class.
Definition: sql_exchange.h:35
thr_lock.h
YYSTYPE::table_list
Mem_root_array< Table_ident * > * table_list
Definition: parser_yystype.h:265
Cast_type::length
const char * length
Definition: parser_yystype.h:88
YYSTYPE::jtc_list
Mem_root_array< PT_json_table_column * > * jtc_list
Definition: parser_yystype.h:486
YYSTYPE::name_list
List< char > * name_list
Definition: parser_yystype.h:430
YYSTYPE::jt_on_response::type
enum_jtc_on type
Definition: parser_yystype.h:488
List< Item >
PT_border
Parse tree node for a single of a window extent's borders, cf.
Definition: parse_tree_nodes.h:1290
YYSTYPE::index_option
PT_base_index_option * index_option
Definition: parser_yystype.h:407
Alter_info::ALTER_TABLE_LOCK_DEFAULT
@ ALTER_TABLE_LOCK_DEFAULT
Definition: sql_alter.h:350
YYSTYPE::hint_type
opt_hints_enum hint_type
Definition: parser_yystype.h:243
Alter_info::enum_alter_table_algorithm
enum_alter_table_algorithm
The different values of the ALGORITHM clause.
Definition: sql_alter.h:330
keytype
keytype
Definition: key_spec.h:39
HA_CHECK_OPT::flags
uint flags
Definition: handler.h:3196
YYSTYPE::xa_option_type
enum xa_option_words xa_option_type
Definition: parser_yystype.h:373
YYSTYPE::table_name
Table_ident * table_name
Definition: parser_yystype.h:467
JTT_LEFT
@ JTT_LEFT
Definition: parser_yystype.h:133
Int_type::BIGINT
@ BIGINT
YYSTYPE::ulong_num
ulong ulong_num
Definition: parser_yystype.h:254
YYSTYPE::alter_tablespace_type
ts_alter_tablespace_type alter_tablespace_type
Definition: parser_yystype.h:586
fk_option
fk_option
Definition: key_spec.h:48
PT_order_expr
Definition: parse_tree_nodes.h:198
SELECT_LEX
This class represents a query block, aka a query specification, which is a query consisting of a SELE...
Definition: sql_lex.h:986
Acl_type
Acl_type
Definition: sql_lex.h:219
YYSTYPE::item_string
Item_string * item_string
Definition: parser_yystype.h:340
YYSTYPE::jt_on_response
Definition: parser_yystype.h:487
YYSTYPE::spname
sp_name * spname
Definition: parser_yystype.h:296
PT_option_value_following_option_type
Definition: parse_tree_nodes.h:842
Query_options::query_spec_options
ulonglong query_spec_options
Definition: parser_yystype.h:102
PT_create_index_stmt
Definition: parse_tree_nodes.h:2218
Enum_parser::merge
void merge(const Enum_parser &x)
Merge the x bit set into the wrapped Enum value (if any), or replace it.
Definition: parser_yystype.h:216
YYSTYPE::on_duplicate
On_duplicate on_duplicate
Definition: parser_yystype.h:445
YYSTYPE::columns
List< String > * columns
Definition: parser_yystype.h:504
ha_key_alg
ha_key_alg
Definition: my_base.h:96
Lock_strength::SHARE
@ SHARE
PT_joined_table
Definition: parse_tree_nodes.h:513
xa_option_words
xa_option_words
Definition: xa.h:49
Virtual_or_stored::VIRTUAL
@ VIRTUAL
YYSTYPE::frame_units
enum_window_frame_unit frame_units
Definition: parser_yystype.h:334
PT_transaction_access_mode
Definition: parse_tree_nodes.h:1080
YYSTYPE::select_var_list
class PT_select_var_list * select_var_list
Definition: parser_yystype.h:361
PT_borders
Parse tree node for one or both of a window extent's borders, cf.
Definition: parse_tree_nodes.h:1335
Query_options::merge
bool merge(const Query_options &a, const Query_options &b)
Definition: sql_lex.cc:4643
YYSTYPE::Algo_and_lock_and_validation::init
void init()
Definition: parser_yystype.h:539
YYSTYPE::resource_group_priority_type
Value_or_default< int > resource_group_priority_type
Definition: parser_yystype.h:570
YYSTYPE::ts_option
PT_alter_tablespace_option_base * ts_option
Definition: parser_yystype.h:563
Statement_information_item
A statement information item.
Definition: sql_get_diagnostics.h:173
THR_NOWAIT
@ THR_NOWAIT
Definition: thr_lock.h:96
YYSTYPE::trigger_action_order_type
enum enum_trigger_order_type trigger_action_order_type
Definition: parser_yystype.h:314
YYSTYPE::join_table
class PT_joined_table * join_table
Definition: parser_yystype.h:343
YYSTYPE::ha_rkey_mode
enum ha_rkey_function ha_rkey_mode
Definition: parser_yystype.h:274
YYSTYPE::Algo_and_lock_and_validation::algo
Enum_parser< Alter_info::enum_alter_table_algorithm, Alter_info::ALTER_TABLE_ALGORITHM_DEFAULT > algo
Definition: parser_yystype.h:532
PT_preload_keys
Definition: parse_tree_nodes.h:4120
Numeric_type::FLOAT
@ FLOAT
sys_var
A class representing one system variable - that is something that can be accessed as @global....
Definition: set_var.h:102
Cast_type
Definition: parser_yystype.h:85
YYSTYPE::part_value_item_list
Mem_root_array< PT_part_value_item * > * part_value_item_list
Definition: parser_yystype.h:420
JTT_STRAIGHT_INNER
@ JTT_STRAIGHT_INNER
Definition: parser_yystype.h:136
enum_key_algorithm
enum_key_algorithm
PARTITION BY KEY ALGORITHM=N Which algorithm to use for hashing the fields.
Definition: partition_info.h:173
YYSTYPE::Algo_and_lock
Definition: parser_yystype.h:517
YYSTYPE::column_def
class PT_column_def * column_def
Definition: parser_yystype.h:473
enum_tx_isolation
enum_tx_isolation
Definition: handler.h:2614
YYSTYPE::sql_cmd_srs_attributes
Sql_cmd_srs_attributes * sql_cmd_srs_attributes
Definition: parser_yystype.h:587
PT_exclusion
Parse tree node for a window frame's exclusions, cf.
Definition: parse_tree_nodes.h:1357
YYSTYPE::spblock
struct YYSTYPE::@66 spblock
YYSTYPE::alter_table_standalone_action
class PT_alter_table_standalone_action * alter_table_standalone_action
Definition: parser_yystype.h:514
enum_jtc_on
enum_jtc_on
Types of ON ERROR/ON EMPTY clause for JSON_TABLE function.
Definition: table_function.h:189
YYSTYPE::part_value_item
class PT_part_value_item * part_value_item
Definition: parser_yystype.h:419
PT_query_primary
Definition: parse_tree_nodes.h:1426
YYSTYPE::opt_sub_part
class PT_sub_partition * opt_sub_part
Definition: parser_yystype.h:432
YYSTYPE::locking_clause_list
class PT_locking_clause_list * locking_clause_list
Definition: parser_yystype.h:485
YYSTYPE::key_part
class PT_key_part_specification * key_part
Definition: parser_yystype.h:370
YYSTYPE::null_treatment
enum enum_null_treatment null_treatment
Definition: parser_yystype.h:338
YYSTYPE::column_value_list_pair
struct YYSTYPE::@69 column_value_list_pair
xa.h
YYSTYPE::resource_group_state_type
Value_or_default< bool > resource_group_state_type
Definition: parser_yystype.h:571
YYSTYPE::interval
interval_type interval
Definition: parser_yystype.h:288
YYSTYPE::create_table_options
Mem_root_array< PT_create_table_option * > * create_table_options
Definition: parser_yystype.h:443
Virtual_or_stored
Virtual_or_stored
Definition: parser_yystype.h:148
Create_col_name_list
Mem_root_array_YY< LEX_CSTRING > Create_col_name_list
Definition: parser_yystype.h:142
ts_alter_tablespace_type
ts_alter_tablespace_type
Definition: handler.h:811
YYSTYPE::udf
udf_func * udf
Definition: parser_yystype.h:266