Commit f71a1f73 authored by Alexander Barkov's avatar Alexander Barkov

MDEV-10411 Providing compatibility for basic PL/SQL constructs

Part 4: AS/IS keyword before a function or a procedure body
parent 892af780
This diff is collapsed.
This diff is collapsed.
...@@ -16131,7 +16131,8 @@ sf_tail: ...@@ -16131,7 +16131,8 @@ sf_tail:
lex->sphead->set_body_start(thd, lip->get_cpp_tok_start()); lex->sphead->set_body_start(thd, lip->get_cpp_tok_start());
} }
sp_proc_stmt_in_returns_clause /* $15 */ sp_tail_is /* $15 */
sp_proc_stmt_in_returns_clause /* $16 */
{ {
LEX *lex= thd->lex; LEX *lex= thd->lex;
sp_head *sp= lex->sphead; sp_head *sp= lex->sphead;
...@@ -16179,6 +16180,7 @@ sp_tail: ...@@ -16179,6 +16180,7 @@ sp_tail:
{ {
Lex->sphead->set_body_start(thd, YYLIP->get_cpp_tok_start()); Lex->sphead->set_body_start(thd, YYLIP->get_cpp_tok_start());
} }
sp_tail_is
sp_proc_stmt sp_proc_stmt
{ {
LEX *lex= Lex; LEX *lex= Lex;
...@@ -16190,6 +16192,11 @@ sp_tail: ...@@ -16190,6 +16192,11 @@ sp_tail:
} }
; ;
sp_tail_is:
IS
| AS
;
/*************************************************************************/ /*************************************************************************/
xa: xa:
......
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