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