@ -155,7 +155,6 @@ int base_yylex(YYSTYPE* lvalp, YYLTYPE* llocp, core_yyscan_t yyscanner)
|
||||
int next_token;
|
||||
core_YYSTYPE cur_yylval;
|
||||
YYLTYPE cur_yylloc;
|
||||
errno_t rc = 0;
|
||||
|
||||
/* Get next token --- we might already have it */
|
||||
if (yyextra->lookahead_num != 0) {
|
||||
|
||||
@ -291,7 +291,6 @@ extern THR_LOCAL bool stmt_contains_operator_plus;
|
||||
|
||||
%type <typnam> func_type
|
||||
|
||||
%type <boolean> opt_nowait
|
||||
%type <ival> OptTemp opt_wait
|
||||
%type <ival> opt_nowait_or_skip
|
||||
%type <oncommit> OnCommitOption
|
||||
@ -7384,11 +7383,7 @@ for_locking_item:
|
||||
$$ = (Node *) n;
|
||||
}
|
||||
;
|
||||
|
||||
opt_nowait: NOWAIT { $$ = TRUE; }
|
||||
| /*EMPTY*/ { $$ = FALSE; }
|
||||
;
|
||||
|
||||
|
||||
opt_wait: WAIT Iconst { $$ = $2; }
|
||||
opt_nowait_or_skip:
|
||||
NOWAIT { $$ = LockWaitError; }
|
||||
|
||||
Reference in New Issue
Block a user