addition to the fix for bug #12177(error log file isn't closed)

This commit is contained in:
hf@deer.(none) 2005-07-27 19:39:59 +05:00
parent f67896bb31
commit 30dd658d41

View File

@ -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);