From 04a5f335d3eaa878ebbc87eeab06dcbf3458fdb7 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 12 Sep 2006 12:26:12 +0200 Subject: 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 --- sql/event_queue.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sql/event_queue.h') diff --git a/sql/event_queue.h b/sql/event_queue.h index 73d1a3efe4d..5b70506d388 100644 --- a/sql/event_queue.h +++ b/sql/event_queue.h @@ -61,8 +61,9 @@ public: bool get_top_for_execution_if_time(THD *thd, Event_job_data **job_data); - bool - dump_internal_status(THD *thd); + + void + dump_internal_status(); int load_events_from_db(THD *thd); -- cgit v1.2.1