diff options
author | unknown <sasha@mysql.sashanet.com> | 2000-12-08 21:01:36 -0700 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2000-12-08 21:01:36 -0700 |
commit | 2e927c7d19afc7e055144590c4245f9d82ebb39c (patch) | |
tree | 952777fc54791300e10b1f0287b2778f4a186529 | |
parent | 95c34725a762a10b2d6456ba62c645c12e34af9a (diff) | |
download | mariadb-git-2e927c7d19afc7e055144590c4245f9d82ebb39c.tar.gz |
logs were not being called with exiting set to true on server exit
sql/mysqld.cc:
added proper close to logs on server exit
-rw-r--r-- | sql/mysqld.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 4f3d31f5aa6..63034e98f7d 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -470,9 +470,9 @@ static void close_connections(void) } (void) pthread_mutex_unlock(&LOCK_thread_count); - mysql_log.close(); - mysql_update_log.close(); - mysql_bin_log.close(); + mysql_log.close(1); + mysql_update_log.close(1); + mysql_bin_log.close(1); my_free(charsets_list, MYF(0)); DBUG_PRINT("quit",("close_connections thread")); DBUG_VOID_RETURN; |