Skip to content

Commit

Permalink
Fix Oracle parser.
Browse files Browse the repository at this point in the history
  • Loading branch information
sanja-byelkin committed Aug 3, 2022
1 parent 48e35b8 commit 8fd8a81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sql/sql_yacc_ora.yy
Expand Up @@ -2330,6 +2330,7 @@ create:
{
if (Lex->main_select_push())
MYSQL_YYABORT;
Lex->inc_select_stack_outer_barrier();
if (Lex->add_create_view(thd, $1 | $5,
DTYPE_ALGORITHM_UNDEFINED, $3, $6))
MYSQL_YYABORT;
Expand All @@ -2345,6 +2346,7 @@ create:
MYSQL_YYABORT;
if (Lex->add_create_view(thd, $1 | $6, $2, $4, $7))
MYSQL_YYABORT;
Lex->inc_select_stack_outer_barrier();
}
view_list_opt AS view_select
{
Expand Down

0 comments on commit 8fd8a81

Please sign in to comment.