Skip to content

Commit

Permalink
Fix typo sql_yacc
Browse files Browse the repository at this point in the history
  • Loading branch information
an3l authored and Sergey Vojtovich committed Nov 8, 2018
1 parent 11df536 commit d5e1f6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/sql_yacc.yy
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, size_t *yystacksize);
SELECT TIMESTAMP '2001-01-01 10:20:30';
SELECT * FROM t1 FOR SYSTEM_TIME AS OF TIMESTAMP CONCAT(@date,' ',@time);

- PERIOD: identifier, period for sytem time:
- PERIOD: identifier, period for system time:
SELECT period FROM t1;
ALTER TABLE DROP PERIOD FOR SYSTEM TIME;

Expand All @@ -1705,7 +1705,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, size_t *yystacksize);
SELECT user FROM t1;
KILL USER foo;

Note, we need here only tokens that cause shirt/reduce conflicts
Note, we need here only tokens that cause shift/reduce conflicts
with keyword identifiers. For example:
opt_clause1: %empty | KEYWORD ... ;
clause2: opt_clause1 ident;
Expand Down

0 comments on commit d5e1f6a

Please sign in to comment.