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
f87737db
Commit
f87737db
authored
Dec 24, 2020
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bring changes to oracle parser
parent
25561435
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
sql/sql_yacc_ora.yy
sql/sql_yacc_ora.yy
+5
-9
No files found.
sql/sql_yacc_ora.yy
View file @
f87737db
...
@@ -288,7 +288,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, size_t *yystacksize);
...
@@ -288,7 +288,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, size_t *yystacksize);
/*
/*
We should not introduce any further shift/reduce conflicts.
We should not introduce any further shift/reduce conflicts.
*/
*/
%expect
70
%expect
63
/*
/*
Comments for TOKENS.
Comments for TOKENS.
...
@@ -1332,7 +1332,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, size_t *yystacksize);
...
@@ -1332,7 +1332,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, size_t *yystacksize);
%type <item>
%type <item>
literal insert_ident order_ident temporal_literal
literal insert_ident order_ident temporal_literal
simple_ident expr sum_expr in_sum_expr
simple_ident expr sum_expr in_sum_expr
variable variable_aux
bool_pri
variable variable_aux
predicate bit_expr parenthesized_expr
predicate bit_expr parenthesized_expr
table_wild simple_expr column_default_non_parenthesized_expr udf_expr
table_wild simple_expr column_default_non_parenthesized_expr udf_expr
primary_expr string_factor_expr mysql_concatenation_expr
primary_expr string_factor_expr mysql_concatenation_expr
...
@@ -9781,23 +9781,19 @@ expr:
...
@@ -9781,23 +9781,19 @@ expr:
if (unlikely($$ == NULL))
if (unlikely($$ == NULL))
MYSQL_YYABORT;
MYSQL_YYABORT;
}
}
| bool_pri
| expr EQUAL_SYM predicate %prec EQUAL_SYM
;
bool_pri:
bool_pri EQUAL_SYM predicate %prec EQUAL_SYM
{
{
$$= new (thd->mem_root) Item_func_equal(thd, $1, $3);
$$= new (thd->mem_root) Item_func_equal(thd, $1, $3);
if (unlikely($$ == NULL))
if (unlikely($$ == NULL))
MYSQL_YYABORT;
MYSQL_YYABORT;
}
}
|
bool_pri
comp_op predicate %prec '='
|
expr
comp_op predicate %prec '='
{
{
$$= (*$2)(0)->create(thd, $1, $3);
$$= (*$2)(0)->create(thd, $1, $3);
if (unlikely($$ == NULL))
if (unlikely($$ == NULL))
MYSQL_YYABORT;
MYSQL_YYABORT;
}
}
|
bool_pri
comp_op all_or_any '(' subselect ')' %prec '='
|
expr
comp_op all_or_any '(' subselect ')' %prec '='
{
{
$$= all_any_subquery_creator(thd, $1, $2, $3, $5);
$$= all_any_subquery_creator(thd, $1, $2, $3, $5);
if (unlikely($$ == NULL))
if (unlikely($$ == NULL))
...
...
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