summaryrefslogtreecommitdiff
path: root/sql/events.h
diff options
context:
space:
mode:
authorunknown <andrey@example.com>2006-09-12 12:26:12 +0200
committerunknown <andrey@example.com>2006-09-12 12:26:12 +0200
commit04a5f335d3eaa878ebbc87eeab06dcbf3458fdb7 (patch)
treeae831e3cf94166f42a8cf2ff10194f4359a06d9d /sql/events.h
parent53267edaf6db74ee4e9e598a96ee8c5c0404051e (diff)
downloadmariadb-git-04a5f335d3eaa878ebbc87eeab06dcbf3458fdb7.tar.gz
WL#3337 (Event scheduler new architecture)
Remove SHOW SCHEDULER STATUS command and migrate the information output to `mysqladmin debug` (COM_DEBUG) SHOW SCHEDULER STATUS was introduced in 5.1.11, provided some debug information about event scheduler internals and was enabled only in debug builds. sql/event_queue.cc: Remove SHOW SCHEDULER STATUS. Reporting still will be there but through COM_DEBUG (mysqladmin debug) sql/event_queue.h: dump_internal_status cannot return an error, therefore it should be void. sql/event_scheduler.cc: Remove SHOW SCHEDULER STATUS. Reporting still will be there but through COM_DEBUG (mysqladmin debug) sql/event_scheduler.h: dump_internal_status cannot return an error, therefore it should be void. sql/events.cc: Change from outputting the internal data from the wire to the standard output. SHOW SCHEDULER STATUS was removed. sql/events.h: dump_internal_status() cannot return an error, therefore it should be void sql/lex.h: remove SCHEDULER as recognized word. This is part of removing SHOW SCHEDULER STATUS sql/sp_head.cc: SQLCOM_SHOW_SCHEDULER_STATUS has been removed sql/sql_lex.h: SQLCOM_SHOW_SCHEDULER_STATUS has been removed sql/sql_parse.cc: SQLCOM_SHOW_SCHEDULER_STATUS has been removed sql/sql_test.cc: Dump Events' internal information on COM_DEBUG sql/sql_yacc.yy: SQLCOM_SHOW_SCHEDULER_STATUS has been removed
Diffstat (limited to 'sql/events.h')
-rw-r--r--sql/events.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/events.h b/sql/events.h
index 9a820b8521e..59a0ccf85d4 100644
--- a/sql/events.h
+++ b/sql/events.h
@@ -112,8 +112,8 @@ public:
static int
fill_schema_events(THD *thd, TABLE_LIST *tables, COND * /* cond */);
- bool
- dump_internal_status(THD *thd);
+ void
+ dump_internal_status();
private:
bool