Commit f1e9a0ac authored by Alexander Barkov's avatar Alexander Barkov

Cleanups in the two *.yy grammar files

Fixing unintentionally diverged parts:
- syncing indentation
- syncing "unlikely"
- syncyning missing new lines
- fixing typos
parent 1c022aaf
...@@ -9527,7 +9527,7 @@ subselect: ...@@ -9527,7 +9527,7 @@ subselect:
Consider the production rule of the SQL Standard Consider the production rule of the SQL Standard
subquery: subquery:
'(' query_expression')' '(' query_expression ')'
This rule is equivalent to the rule This rule is equivalent to the rule
subquery: subquery:
...@@ -9541,7 +9541,7 @@ subselect: ...@@ -9541,7 +9541,7 @@ subselect:
The latter can be re-written into The latter can be re-written into
subquery: subquery:
query_expression_body_ext_parens ')' query_expression_body_ext_parens
| '(' with_clause query_expression_no_with_clause ')' | '(' with_clause query_expression_no_with_clause ')'
The last rule allows us to resolve properly the shift/reduce conflict The last rule allows us to resolve properly the shift/reduce conflict
...@@ -12649,7 +12649,7 @@ opt_window_clause: ...@@ -12649,7 +12649,7 @@ opt_window_clause:
{} {}
| WINDOW_SYM | WINDOW_SYM
window_def_list window_def_list
{} {}
; ;
window_def_list: window_def_list:
...@@ -13917,12 +13917,12 @@ delete_single_table: ...@@ -13917,12 +13917,12 @@ delete_single_table:
; ;
delete_single_table_for_period: delete_single_table_for_period:
delete_single_table opt_for_portion_of_time_clause delete_single_table opt_for_portion_of_time_clause
{ {
if ($2) if ($2)
Lex->last_table()->period_conditions= Lex->period_conditions; Lex->last_table()->period_conditions= Lex->period_conditions;
} }
; ;
single_multi: single_multi:
delete_single_table_for_period delete_single_table_for_period
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment