1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Bug #31868 mysql_server_init crash when language path is not correctly set.

When mysql_server_init() interrupts on some error (wrong errmsg file
for example) in the middle of it's execution, it doesn't call
execute_ddl_log_recovery() so LOCK_gdl mutex isn't init-ed.
In this case we shouldn't execute release_ddl_log during cleanup
as it uses that mutex inside.
This commit is contained in:
holyfoot/hf@mysql.com/hfmain.(none)
2007-11-13 13:09:59 +04:00
parent 84159db8f7
commit 18f832a708
4 changed files with 16 additions and 5 deletions

View File

@ -551,7 +551,6 @@ void end_embedded_server()
{
my_free((char*) copy_arguments_ptr, MYF(MY_ALLOW_ZERO_PTR));
copy_arguments_ptr=0;
release_ddl_log();
clean_up(0);
}