Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
a742f8e0
Commit
a742f8e0
authored
May 16, 2016
by
Igor Babaev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10.2' of github.com:MariaDB/server into 10.2
parents
4a8d3771
1f4f7293
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
10 deletions
+19
-10
sql/sql_yacc.yy
sql/sql_yacc.yy
+19
-10
No files found.
sql/sql_yacc.yy
View file @
a742f8e0
...
...
@@ -1919,7 +1919,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, ulong *yystacksize);
%type <variable> internal_variable_name
%type <select_lex> subselect
get_select_lex
query_term
get_select_lex
query_expression_body
%type <boolfunc2creator> comp_op
...
...
@@ -16378,24 +16378,33 @@ union_option:
| ALL { $$=0; }
;
/*
Corresponds to the SQL Standard
<query specification> ::=
SELECT [ <set quantifier> ] <select list> <table expression>
Notes:
- We allow more options in addition to <set quantifier>
- <table expression> is optional in MariaDB
*/
query_specification:
SELECT_SYM select_init2_derived opt_table_expression
;
query_term:
SELECT_SYM select_init2_derived
opt_table_expression
query_specification
opt_order_clause
opt_limit_clause
opt_select_lock_type
{
$$= Lex->current_select->master_unit()->first_select();
}
| '(' select_paren_derived ')'
opt_union_order_or_limit
{
$$= Lex->current_select->master_unit()->first_select();
}
;
query_expression_body:
query_term
{
$$= Lex->current_select->master_unit()->first_select();
}
| query_expression_body union_head_non_top query_term
{
Lex->pop_context();
...
...
@@ -16407,7 +16416,7 @@ query_expression_body:
subselect:
subselect_start opt_with_clause query_expression_body subselect_end
{
$3->set_with_clause($2);
$3->set_with_clause($2);
$$= $3;
}
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment