diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-10-14 16:52:33 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-04-05 15:02:53 +0400 |
commit | 4ed804aa4dc6a03d5a983a0aaf71b39e4702e8f3 (patch) | |
tree | be2115e6c59097079db4c75be877dd7f5a4674d1 /sql/sp_rcontext.h | |
parent | 4d3818d30d97e6fbdb5130d73716401e883c7371 (diff) | |
download | mariadb-git-4ed804aa4dc6a03d5a983a0aaf71b39e4702e8f3.tar.gz |
MDEV-10587 sql_mode=ORACLE: User defined exceptions
Diffstat (limited to 'sql/sp_rcontext.h')
-rw-r--r-- | sql/sp_rcontext.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sp_rcontext.h b/sql/sp_rcontext.h index d2e1f5fec58..d040186ec34 100644 --- a/sql/sp_rcontext.h +++ b/sql/sp_rcontext.h @@ -120,7 +120,8 @@ public: /// standard SQL-condition processing (Diagnostics_area should contain an /// object for active SQL-condition, not just information stored in DA's /// fields). - class Sql_condition_info : public Sql_alloc, public Sql_state_errno_level + class Sql_condition_info : public Sql_alloc, + public Sql_condition_identity { public: /// Text message. @@ -132,7 +133,7 @@ public: /// @param arena Query arena for SP Sql_condition_info(const Sql_condition *_sql_condition, Query_arena *arena) - :Sql_state_errno_level(*_sql_condition) + :Sql_condition_identity(*_sql_condition) { message= strdup_root(arena->mem_root, _sql_condition->get_message_text()); } |