26#ifndef ROUTING_SQL_LEXER_YACC_STATE_INCLUDED
27#define ROUTING_SQL_LEXER_YACC_STATE_INCLUDED
The internal state of the syntax parser.
Definition: sql_lexer_yacc_state.h:246
Yacc_state()
Definition: sql_lexer_yacc_state.h:248
void reset()
Definition: sql_lexer_yacc_state.h:252
thr_lock_type m_lock_type
Type of lock to be used for tables being added to the statement's table list in table_factor,...
Definition: sql_lexer_yacc_state.h:321
uchar * yacc_yyvs
Bison internal semantic value stack, yyvs, when dynamically allocated using my_yyoverflow().
Definition: sql_lexer_yacc_state.h:296
enum_mdl_type m_mdl_type
The type of requested metadata lock for tables added to the statement table list.
Definition: sql_lexer_yacc_state.h:327
~Yacc_state()
Definition: sql_lexer_yacc_state.h:269
uchar * yacc_yyss
Bison internal state stack, yyss, when dynamically allocated using my_yyoverflow().
Definition: sql_lexer_yacc_state.h:290
void reset_before_substatement()
Reset part of the state which needs resetting before parsing substatement.
Definition: sql_lexer_yacc_state.h:281
uchar * yacc_yyls
Bison internal location value stack, yyls, when dynamically allocated using my_yyoverflow().
Definition: sql_lexer_yacc_state.h:302
Fido Client Authentication nullptr
Definition: fido_client_plugin.cc:222
Some integer typedefs for easier portability.
unsigned char uchar
Definition: my_inttypes.h:52
void my_free(void *ptr)
Frees the memory pointed by the ptr.
Definition: my_memory.cc:81
@ TL_WRITE
Definition: sql_lexer_yacc_state.h:94
@ TL_WRITE_LOW_PRIORITY
Definition: sql_lexer_yacc_state.h:92
@ TL_WRITE_ONLY
Definition: sql_lexer_yacc_state.h:96
@ TL_READ_NO_INSERT
Definition: sql_lexer_yacc_state.h:69
@ TL_WRITE_DEFAULT
Definition: sql_lexer_yacc_state.h:90
@ TL_UNLOCK
Definition: sql_lexer_yacc_state.h:55
@ TL_READ_HIGH_PRIORITY
Definition: sql_lexer_yacc_state.h:67
@ TL_WRITE_CONCURRENT_DEFAULT
Definition: sql_lexer_yacc_state.h:80
@ TL_READ
Definition: sql_lexer_yacc_state.h:64
@ TL_WRITE_ALLOW_WRITE
Definition: sql_lexer_yacc_state.h:75
@ TL_READ_WITH_SHARED_LOCKS
Definition: sql_lexer_yacc_state.h:65
@ TL_IGNORE
Definition: sql_lexer_yacc_state.h:54
@ TL_WRITE_CONCURRENT_INSERT
Definition: sql_lexer_yacc_state.h:85
@ TL_READ_DEFAULT
Definition: sql_lexer_yacc_state.h:63
enum_mdl_type
Type of metadata lock request.
Definition: sql_lexer_yacc_state.h:106
@ MDL_SHARED_WRITE
Definition: sql_lexer_yacc_state.h:179
@ MDL_SHARED
Definition: sql_lexer_yacc_state.h:141
@ MDL_SHARED_UPGRADABLE
Definition: sql_lexer_yacc_state.h:196
@ MDL_SHARED_READ_ONLY
Definition: sql_lexer_yacc_state.h:202
@ MDL_SHARED_HIGH_PRIO
Definition: sql_lexer_yacc_state.h:158
@ MDL_SHARED_NO_WRITE
Definition: sql_lexer_yacc_state.h:216
@ MDL_SHARED_NO_READ_WRITE
Definition: sql_lexer_yacc_state.h:228
@ MDL_SHARED_WRITE_LOW_PRIO
Definition: sql_lexer_yacc_state.h:185
@ MDL_SHARED_READ
Definition: sql_lexer_yacc_state.h:169
@ MDL_TYPE_END
Definition: sql_lexer_yacc_state.h:238
@ MDL_EXCLUSIVE
Definition: sql_lexer_yacc_state.h:236
@ MDL_INTENTION_EXCLUSIVE
Definition: sql_lexer_yacc_state.h:118
thr_lock_type
Definition: thr_lock.h:51