Status: Closed (View Workflow)
Ubuntu focal 20.04
Calling mysql_library_init after a call to mysql_library_end generates a crash.
The crash occurs in the function:
void one_thread_scheduler(scheduler_functions *func,...). On the second call of this function, func is NULL and this is the cause of the crash.
How to reproduce:
- mysql_library_init(...) --> Crash
It is important to be able to initialize the library several times in order to change the data directory.
MDEV-24071 embedded server crashes when mysql_library_init called after mysql_library_end