1
0
mirror of https://github.com/MariaDB/server.git synced 2025-06-13 13:01:51 +03:00

Fix for bug #12177 (errorlog file isn't closed)

4.1 version of the patch


libmysql/libmysql.c:
  here we close errorlog file
sql/mysql_priv.h:
  stderror_file declared
sql/mysqld.cc:
  stderror_file saved
This commit is contained in:
unknown
2005-08-04 15:23:21 +05:00
parent 5c2578b9bd
commit 36a2a092ab
3 changed files with 10 additions and 1 deletions

View File

@ -188,6 +188,13 @@ void STDCALL mysql_server_end()
mysql_thread_end();
free_charsets();
mysql_client_init= org_my_init_done= 0;
#ifdef EMBEDDED_SERVER
if (stderror_file)
{
fclose(stderror_file);
stderror_file= 0;
}
#endif
}
static MYSQL_PARAMETERS mysql_internal_parameters=