1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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.
This commit is contained in:
andrey@example.com
2006-09-12 12:26:12 +02:00
parent 83f4f3b2aa
commit 25862a8671
12 changed files with 57 additions and 236 deletions

View File

@ -28,6 +28,8 @@
#include <sys/malloc.h>
#endif
#include "events.h"
static const char *lock_descriptions[] =
{
"No lock",
@ -532,5 +534,7 @@ Estimated memory (with thread stack): %ld\n",
(int) info.keepcost,
(long) (thread_count * thread_stack + info.hblkhd + info.arena));
#endif
Events::get_instance()->dump_internal_status();
puts("");
}