summaryrefslogtreecommitdiff
path: root/sql/sql_signal.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-10-12 18:16:38 +0400
committerAlexander Barkov <bar@mariadb.org>2017-04-05 15:02:53 +0400
commit6010662cb328c10b1ef92c3ed43b2b3858c49863 (patch)
treec0927233efb1168b4018f2a59d099caafc4343de /sql/sql_signal.h
parentffca1e48301a30ae9c3e9c338293e31914182ed2 (diff)
downloadmariadb-git-6010662cb328c10b1ef92c3ed43b2b3858c49863.tar.gz
MDEV-11037 Diagnostics_area refactoring for user defined exceptions
Diffstat (limited to 'sql/sql_signal.h')
-rw-r--r--sql/sql_signal.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/sql/sql_signal.h b/sql/sql_signal.h
index 2a508eed5bf..4d4601a5ec1 100644
--- a/sql/sql_signal.h
+++ b/sql/sql_signal.h
@@ -40,27 +40,6 @@ protected:
{}
/**
- Assign the condition items 'MYSQL_ERRNO', 'level' and 'MESSAGE_TEXT'
- default values of a condition.
- @param cond the condition to update.
- @param set_level_code true if 'level' and 'MYSQL_ERRNO' needs to be overwritten
- @param level the level to assign
- @param sqlcode the sql code to assign
- */
- static void assign_defaults(Sql_condition *cond,
- bool set_level_code,
- Sql_condition::enum_warning_level level,
- int sqlcode);
-
- /**
- Evaluate the condition items 'SQLSTATE', 'MYSQL_ERRNO', 'level' and 'MESSAGE_TEXT'
- default values for this statement.
- @param thd the current thread.
- @param cond the condition to update.
- */
- void eval_defaults(THD *thd, Sql_condition *cond);
-
- /**
Evaluate each signal condition items for this statement.
@param thd the current thread.
@param cond the condition to update.