25#ifndef ROUTING_SQL_LEXER_YACC_STATE_INCLUDED
26#define ROUTING_SQL_LEXER_YACC_STATE_INCLUDED
The internal state of the syntax parser.
Definition: sql_lexer_yacc_state.h:245
Yacc_state()
Definition: sql_lexer_yacc_state.h:247
void reset()
Definition: sql_lexer_yacc_state.h:251
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:320
uchar * yacc_yyvs
Bison internal semantic value stack, yyvs, when dynamically allocated using my_yyoverflow().
Definition: sql_lexer_yacc_state.h:295
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:326
~Yacc_state()
Definition: sql_lexer_yacc_state.h:268
uchar * yacc_yyss
Bison internal state stack, yyss, when dynamically allocated using my_yyoverflow().
Definition: sql_lexer_yacc_state.h:289
void reset_before_substatement()
Reset part of the state which needs resetting before parsing substatement.
Definition: sql_lexer_yacc_state.h:280
uchar * yacc_yyls
Bison internal location value stack, yyls, when dynamically allocated using my_yyoverflow().
Definition: sql_lexer_yacc_state.h:301
Fido Client Authentication nullptr
Definition: fido_client_plugin.cc:221
Some integer typedefs for easier portability.
unsigned char uchar
Definition: my_inttypes.h:51
void my_free(void *ptr)
Frees the memory pointed by the ptr.
Definition: my_memory.cc:80
@ TL_WRITE
Definition: sql_lexer_yacc_state.h:93
@ TL_WRITE_LOW_PRIORITY
Definition: sql_lexer_yacc_state.h:91
@ TL_WRITE_ONLY
Definition: sql_lexer_yacc_state.h:95
@ TL_READ_NO_INSERT
Definition: sql_lexer_yacc_state.h:68
@ TL_WRITE_DEFAULT
Definition: sql_lexer_yacc_state.h:89
@ TL_UNLOCK
Definition: sql_lexer_yacc_state.h:54
@ TL_READ_HIGH_PRIORITY
Definition: sql_lexer_yacc_state.h:66
@ TL_WRITE_CONCURRENT_DEFAULT
Definition: sql_lexer_yacc_state.h:79
@ TL_READ
Definition: sql_lexer_yacc_state.h:63
@ TL_WRITE_ALLOW_WRITE
Definition: sql_lexer_yacc_state.h:74
@ TL_READ_WITH_SHARED_LOCKS
Definition: sql_lexer_yacc_state.h:64
@ TL_IGNORE
Definition: sql_lexer_yacc_state.h:53
@ TL_WRITE_CONCURRENT_INSERT
Definition: sql_lexer_yacc_state.h:84
@ TL_READ_DEFAULT
Definition: sql_lexer_yacc_state.h:62
enum_mdl_type
Type of metadata lock request.
Definition: sql_lexer_yacc_state.h:105
@ MDL_SHARED_WRITE
Definition: sql_lexer_yacc_state.h:178
@ MDL_SHARED
Definition: sql_lexer_yacc_state.h:140
@ MDL_SHARED_UPGRADABLE
Definition: sql_lexer_yacc_state.h:195
@ MDL_SHARED_READ_ONLY
Definition: sql_lexer_yacc_state.h:201
@ MDL_SHARED_HIGH_PRIO
Definition: sql_lexer_yacc_state.h:157
@ MDL_SHARED_NO_WRITE
Definition: sql_lexer_yacc_state.h:215
@ MDL_SHARED_NO_READ_WRITE
Definition: sql_lexer_yacc_state.h:227
@ MDL_SHARED_WRITE_LOW_PRIO
Definition: sql_lexer_yacc_state.h:184
@ MDL_SHARED_READ
Definition: sql_lexer_yacc_state.h:168
@ MDL_TYPE_END
Definition: sql_lexer_yacc_state.h:237
@ MDL_EXCLUSIVE
Definition: sql_lexer_yacc_state.h:235
@ MDL_INTENTION_EXCLUSIVE
Definition: sql_lexer_yacc_state.h:117
thr_lock_type
Definition: thr_lock.h:50