mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#35997 Event scheduler seems to let the server crash, if it is embedded.
The event scheduler was not designed to work in embedded mode. This patch disables and excludes the event scheduler when the server is compiled for embedded build.
This commit is contained in:
@ -27,7 +27,9 @@
|
||||
#include <sys/malloc.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_EVENT_SCHEDULER
|
||||
#include "events.h"
|
||||
#endif
|
||||
|
||||
static const char *lock_descriptions[] =
|
||||
{
|
||||
@ -539,6 +541,8 @@ Estimated memory (with thread stack): %ld\n",
|
||||
(long) (thread_count * my_thread_stack_size + info.hblkhd + info.arena));
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_EVENT_SCHEDULER
|
||||
Events::dump_internal_status();
|
||||
#endif
|
||||
puts("");
|
||||
}
|
||||
|
Reference in New Issue
Block a user