mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
WL 2826: Error handling of ALTER TABLE for partitioning
Close down table log also at exit of main thread sql/mysqld.cc: Close down table log also at exit of main thread sql/sql_table.cc: Close down table log also at exit of main thread
This commit is contained in:
parent
e5200bc17d
commit
256d852732
2 changed files with 2 additions and 0 deletions
|
@ -3708,6 +3708,7 @@ we force server id to 2, but this MySQL server will not act as a slave.");
|
|||
/* (void) pthread_attr_destroy(&connection_attrib); */
|
||||
|
||||
DBUG_PRINT("quit",("Exiting main thread"));
|
||||
release_table_log();
|
||||
|
||||
#ifndef __WIN__
|
||||
#ifdef EXTRA_DEBUG2
|
||||
|
|
|
@ -851,6 +851,7 @@ release_table_log()
|
|||
my_free((char*)free_list, MYF(0));
|
||||
free_list= tmp->next_log_entry;
|
||||
}
|
||||
VOID(my_close(global_table_log.file_id, MYF(0)));
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue