MySQL  8.0.27
Source Code Documentation
sql_hints.yy.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 3.0.4. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
6 
7  This program is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 
20 /* As a special exception, you may create a larger work that contains
21  part or all of the Bison parser skeleton and distribute that work
22  under terms of your choice, so long as that work isn't itself a
23  parser generator using the skeleton or a modified version thereof
24  as a parser skeleton. Alternatively, if you modify or redistribute
25  the parser skeleton itself, you may (at your option) remove this
26  special exception, which will cause the skeleton and the resulting
27  Bison output files to be licensed under the GNU General Public
28  License without this special exception.
29 
30  This special exception was added by the Free Software Foundation in
31  version 2.2 of Bison. */
32 
33 #ifndef YY_HINT_PARSER_VAR_LIB_PB2_SB_1_4617039_1632834178_1_DIST_GPL_SQL_SQL_HINTS_YY_H_INCLUDED
34 # define YY_HINT_PARSER_VAR_LIB_PB2_SB_1_4617039_1632834178_1_DIST_GPL_SQL_SQL_HINTS_YY_H_INCLUDED
35 /* Debug traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int HINT_PARSER_debug;
41 #endif
42 
43 /* Token type. */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
47  {
50  BKA_HINT = 1002,
51  BNL_HINT = 1003,
57  NO_BKA_HINT = 1009,
58  NO_BNL_HINT = 1010,
59  NO_ICP_HINT = 1011,
60  NO_MRR_HINT = 1012,
63  MRR_HINT = 1015,
64  QB_NAME_HINT = 1016,
65  SEMIJOIN_HINT = 1017,
66  SUBQUERY_HINT = 1018,
75  SET_VAR_HINT = 1027,
83  HINT_ARG_TEXT = 1035,
85  HINT_CLOSE = 1037,
86  HINT_ERROR = 1038,
87  INDEX_HINT = 1039,
88  NO_INDEX_HINT = 1040,
98  YYUNDEF = 1150
99  };
100 #endif
101 /* Tokens. */
102 #define MAX_EXECUTION_TIME_HINT 1000
103 #define RESOURCE_GROUP_HINT 1001
104 #define BKA_HINT 1002
105 #define BNL_HINT 1003
106 #define DUPSWEEDOUT_HINT 1004
107 #define FIRSTMATCH_HINT 1005
108 #define INTOEXISTS_HINT 1006
109 #define LOOSESCAN_HINT 1007
110 #define MATERIALIZATION_HINT 1008
111 #define NO_BKA_HINT 1009
112 #define NO_BNL_HINT 1010
113 #define NO_ICP_HINT 1011
114 #define NO_MRR_HINT 1012
115 #define NO_RANGE_OPTIMIZATION_HINT 1013
116 #define NO_SEMIJOIN_HINT 1014
117 #define MRR_HINT 1015
118 #define QB_NAME_HINT 1016
119 #define SEMIJOIN_HINT 1017
120 #define SUBQUERY_HINT 1018
121 #define DERIVED_MERGE_HINT 1019
122 #define NO_DERIVED_MERGE_HINT 1020
123 #define JOIN_PREFIX_HINT 1021
124 #define JOIN_SUFFIX_HINT 1022
125 #define JOIN_ORDER_HINT 1023
126 #define JOIN_FIXED_ORDER_HINT 1024
127 #define INDEX_MERGE_HINT 1025
128 #define NO_INDEX_MERGE_HINT 1026
129 #define SET_VAR_HINT 1027
130 #define SKIP_SCAN_HINT 1028
131 #define NO_SKIP_SCAN_HINT 1029
132 #define HASH_JOIN_HINT 1030
133 #define NO_HASH_JOIN_HINT 1031
134 #define HINT_ARG_NUMBER 1032
135 #define HINT_ARG_IDENT 1033
136 #define HINT_ARG_QB_NAME 1034
137 #define HINT_ARG_TEXT 1035
138 #define HINT_IDENT_OR_NUMBER_WITH_SCALE 1036
139 #define HINT_CLOSE 1037
140 #define HINT_ERROR 1038
141 #define INDEX_HINT 1039
142 #define NO_INDEX_HINT 1040
143 #define JOIN_INDEX_HINT 1041
144 #define NO_JOIN_INDEX_HINT 1042
145 #define GROUP_INDEX_HINT 1043
146 #define NO_GROUP_INDEX_HINT 1044
147 #define ORDER_INDEX_HINT 1045
148 #define NO_ORDER_INDEX_HINT 1046
149 #define DERIVED_CONDITION_PUSHDOWN_HINT 1047
150 #define NO_DERIVED_CONDITION_PUSHDOWN_HINT 1048
151 #define HINT_ARG_FLOATING_POINT_NUMBER 1049
152 #define YYUNDEF 1150
153 
154 /* Value type. */
155 
156 
157 
158 int HINT_PARSER_parse (class THD *thd, class Hint_scanner *scanner, class PT_hint_list **ret);
159 
160 #endif /* !YY_HINT_PARSER_VAR_LIB_PB2_SB_1_4617039_1632834178_1_DIST_GPL_SQL_SQL_HINTS_YY_H_INCLUDED */
Lexical scanner for hint comments.
Definition: sql_lex_hints.h:60
Definition: parse_tree_hints.h:97
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_class.h:821
#define INTOEXISTS_HINT
Definition: sql_hints.yy.h:108
#define NO_DERIVED_CONDITION_PUSHDOWN_HINT
Definition: sql_hints.yy.h:150
yytokentype
Definition: sql_hints.yy.h:47
#define BKA_HINT
Definition: sql_hints.yy.h:104
#define DERIVED_CONDITION_PUSHDOWN_HINT
Definition: sql_hints.yy.h:149
#define NO_ICP_HINT
Definition: sql_hints.yy.h:113
#define FIRSTMATCH_HINT
Definition: sql_hints.yy.h:107
#define MRR_HINT
Definition: sql_hints.yy.h:117
#define JOIN_PREFIX_HINT
Definition: sql_hints.yy.h:123
#define ORDER_INDEX_HINT
Definition: sql_hints.yy.h:147
#define HINT_CLOSE
Definition: sql_hints.yy.h:139
#define NO_DERIVED_MERGE_HINT
Definition: sql_hints.yy.h:122
#define MAX_EXECUTION_TIME_HINT
Definition: sql_hints.yy.h:102
#define QB_NAME_HINT
Definition: sql_hints.yy.h:118
#define GROUP_INDEX_HINT
Definition: sql_hints.yy.h:145
#define HASH_JOIN_HINT
Definition: sql_hints.yy.h:132
#define RESOURCE_GROUP_HINT
Definition: sql_hints.yy.h:103
#define NO_ORDER_INDEX_HINT
Definition: sql_hints.yy.h:148
#define LOOSESCAN_HINT
Definition: sql_hints.yy.h:109
#define YYUNDEF
Definition: sql_hints.yy.h:152
#define HINT_ARG_TEXT
Definition: sql_hints.yy.h:137
#define NO_RANGE_OPTIMIZATION_HINT
Definition: sql_hints.yy.h:115
#define NO_HASH_JOIN_HINT
Definition: sql_hints.yy.h:133
#define NO_INDEX_HINT
Definition: sql_hints.yy.h:142
#define NO_MRR_HINT
Definition: sql_hints.yy.h:114
#define JOIN_SUFFIX_HINT
Definition: sql_hints.yy.h:124
#define JOIN_ORDER_HINT
Definition: sql_hints.yy.h:125
#define JOIN_FIXED_ORDER_HINT
Definition: sql_hints.yy.h:126
#define HINT_ARG_IDENT
Definition: sql_hints.yy.h:135
#define NO_SEMIJOIN_HINT
Definition: sql_hints.yy.h:116
#define BNL_HINT
Definition: sql_hints.yy.h:105
#define INDEX_HINT
Definition: sql_hints.yy.h:141
#define SKIP_SCAN_HINT
Definition: sql_hints.yy.h:130
#define HINT_ARG_NUMBER
Definition: sql_hints.yy.h:134
#define DERIVED_MERGE_HINT
Definition: sql_hints.yy.h:121
#define HINT_ARG_FLOATING_POINT_NUMBER
Definition: sql_hints.yy.h:151
#define NO_BKA_HINT
Definition: sql_hints.yy.h:111
#define NO_JOIN_INDEX_HINT
Definition: sql_hints.yy.h:144
#define MATERIALIZATION_HINT
Definition: sql_hints.yy.h:110
#define NO_INDEX_MERGE_HINT
Definition: sql_hints.yy.h:128
#define HINT_ERROR
Definition: sql_hints.yy.h:140
#define SET_VAR_HINT
Definition: sql_hints.yy.h:129
int HINT_PARSER_parse(class THD *thd, class Hint_scanner *scanner, class PT_hint_list **ret)
#define NO_SKIP_SCAN_HINT
Definition: sql_hints.yy.h:131
#define SUBQUERY_HINT
Definition: sql_hints.yy.h:120
#define INDEX_MERGE_HINT
Definition: sql_hints.yy.h:127
#define NO_BNL_HINT
Definition: sql_hints.yy.h:112
#define NO_GROUP_INDEX_HINT
Definition: sql_hints.yy.h:146
#define JOIN_INDEX_HINT
Definition: sql_hints.yy.h:143
#define SEMIJOIN_HINT
Definition: sql_hints.yy.h:119
#define HINT_IDENT_OR_NUMBER_WITH_SCALE
Definition: sql_hints.yy.h:138
#define DUPSWEEDOUT_HINT
Definition: sql_hints.yy.h:106
#define HINT_ARG_QB_NAME
Definition: sql_hints.yy.h:136