summaryrefslogtreecommitdiff
path: root/sql/sql_error.h
diff options
context:
space:
mode:
authorandrey@lmy004. <>2006-05-22 20:46:13 +0200
committerandrey@lmy004. <>2006-05-22 20:46:13 +0200
commitb429d73d62791d05a6448135c78beb8966008888 (patch)
tree3d492384ce369edfba63a049dc688265d9d27a21 /sql/sql_error.h
parent9fca0d766b3a35b9ac930546dc691b5ed9338b7f (diff)
downloadmariadb-git-b429d73d62791d05a6448135c78beb8966008888.tar.gz
fix for bug #17619 Scheduler race conditions
- Scheduler is either initialized at server start or never. Starting & stopping is now suspending & resuming. - The scheduler has clear OO interface - Now all calls to the scheduler are synchronous - GLOBAL event_scheduler uses thd::sys_var_tmp (see set_var.cc) - External API is encapsulated into class Events - Includes fixes for all comments of Kostja's review of 19.05.2005 Starting to merge into 5.1-release (5.1.10) and push
Diffstat (limited to 'sql/sql_error.h')
-rw-r--r--sql/sql_error.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_error.h b/sql/sql_error.h
index 223b50be744..b5cac24d894 100644
--- a/sql/sql_error.h
+++ b/sql/sql_error.h
@@ -40,3 +40,5 @@ void push_warning_printf(THD *thd, MYSQL_ERROR::enum_warning_level level,
uint code, const char *format, ...);
void mysql_reset_errors(THD *thd, bool force);
bool mysqld_show_warnings(THD *thd, ulong levels_to_show);
+
+extern LEX_STRING warning_level_names[];