summaryrefslogtreecommitdiff
path: root/mysql-test/suite/compat/oracle/t/sp-code.test
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-08-15 21:46:22 +0400
committerAlexander Barkov <bar@mariadb.org>2017-04-05 15:02:43 +0400
commitd2b007d6bc8458d3451bb28cc7319e39dae00e7d (patch)
treec0193e697ab858d722f2687363aa722d1e3bd135 /mysql-test/suite/compat/oracle/t/sp-code.test
parent4940a91a5f57da21714b04dce77c425c2db6195c (diff)
downloadmariadb-git-d2b007d6bc8458d3451bb28cc7319e39dae00e7d.tar.gz
Optimization for MDEV-10411 Providing compatibility for basic PL/SQL constructs
When processing an SP body: CREATE PROCEDURE p1 (parameters) AS [ declarations ] BEGIN statements [ EXCEPTION exceptions ] END; the parser generates two "jump" instructions: - from the end of "declarations" to the beginning of EXCEPTION - from the end of EXCEPTION to "statements" These jumps are useless if EXCEPTION does not exist. This patch makes sure that these two "jump" instructions are generated only if EXCEPTION really exists.
Diffstat (limited to 'mysql-test/suite/compat/oracle/t/sp-code.test')
0 files changed, 0 insertions, 0 deletions