summaryrefslogtreecommitdiff
path: root/sql/lex.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-08-11 14:12:14 +0400
committerAlexander Barkov <bar@mariadb.org>2017-04-05 15:02:41 +0400
commit8fdc1f0147cd77d3191139247a4c54d1f1cbe189 (patch)
tree73bd7d23e9d829bf17b8123671b38b8439dcba7b /sql/lex.h
parenta44e90ae0520f53129e88527a673cbc43aa3b413 (diff)
downloadmariadb-git-8fdc1f0147cd77d3191139247a4c54d1f1cbe189.tar.gz
MDEV-10411 Providing compatibility for basic PL/SQL constructs
Part 9: EXCEPTION handlers - Adding exception handler syntax: WHEN exception_name THEN statement - Adding EXCEPTION section intoi the top BEGIN..END SP block. Note, currently EXCEPTION goes in the beginning of the top BEGIN..END SP block. TODO: - add EXCEPTION section into inner blocks - move EXCEPTION to the end of the block
Diffstat (limited to 'sql/lex.h')
-rw-r--r--sql/lex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/lex.h b/sql/lex.h
index a83ef373642..b1259eab42b 100644
--- a/sql/lex.h
+++ b/sql/lex.h
@@ -222,6 +222,7 @@ static SYMBOL symbols[] = {
{ "EXCHANGE", SYM(EXCHANGE_SYM)},
{ "EXCLUDE", SYM(EXCLUDE_SYM)},
{ "EXECUTE", SYM(EXECUTE_SYM)},
+ { "EXCEPTION", SYM(EXCEPTION_SYM)},
{ "EXISTS", SYM(EXISTS)},
{ "EXIT", SYM(EXIT_SYM)},
{ "EXPANSION", SYM(EXPANSION_SYM)},