mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
logs were not being called with exiting set to true on server exit
sql/mysqld.cc: added proper close to logs on server exit
This commit is contained in:
@ -470,9 +470,9 @@ static void close_connections(void)
|
|||||||
}
|
}
|
||||||
(void) pthread_mutex_unlock(&LOCK_thread_count);
|
(void) pthread_mutex_unlock(&LOCK_thread_count);
|
||||||
|
|
||||||
mysql_log.close();
|
mysql_log.close(1);
|
||||||
mysql_update_log.close();
|
mysql_update_log.close(1);
|
||||||
mysql_bin_log.close();
|
mysql_bin_log.close(1);
|
||||||
my_free(charsets_list, MYF(0));
|
my_free(charsets_list, MYF(0));
|
||||||
DBUG_PRINT("quit",("close_connections thread"));
|
DBUG_PRINT("quit",("close_connections thread"));
|
||||||
DBUG_VOID_RETURN;
|
DBUG_VOID_RETURN;
|
||||||
|
Reference in New Issue
Block a user