mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 07:14:17 +01:00
addition to the fix for bug #12177(error log file isn't closed)
libmysqld/lib_sql.cc: we should set errorlog_file=0 to make consequent mysql_server_init work properly
This commit is contained in:
parent
73ec339dbd
commit
153353fd29
1 changed files with 3 additions and 0 deletions
|
@ -628,7 +628,10 @@ void STDCALL mysql_server_end()
|
|||
copy_arguments_ptr=0;
|
||||
clean_up(0);
|
||||
if (errorlog_file)
|
||||
{
|
||||
fclose(errorlog_file);
|
||||
errorlog_file=0;
|
||||
}
|
||||
/* If library called my_init(), free memory allocated by it */
|
||||
if (!org_my_init_done)
|
||||
my_end(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue