mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
WL 2826: Error handling of ALTER TABLE for partitioning
Close down table log also at exit of main thread
This commit is contained in:

parent
c12c095226
commit
9399e98b71
@ -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); */
|
/* (void) pthread_attr_destroy(&connection_attrib); */
|
||||||
|
|
||||||
DBUG_PRINT("quit",("Exiting main thread"));
|
DBUG_PRINT("quit",("Exiting main thread"));
|
||||||
|
release_table_log();
|
||||||
|
|
||||||
#ifndef __WIN__
|
#ifndef __WIN__
|
||||||
#ifdef EXTRA_DEBUG2
|
#ifdef EXTRA_DEBUG2
|
||||||
|
@ -851,6 +851,7 @@ release_table_log()
|
|||||||
my_free((char*)free_list, MYF(0));
|
my_free((char*)free_list, MYF(0));
|
||||||
free_list= tmp->next_log_entry;
|
free_list= tmp->next_log_entry;
|
||||||
}
|
}
|
||||||
|
VOID(my_close(global_table_log.file_id, MYF(0)));
|
||||||
DBUG_VOID_RETURN;
|
DBUG_VOID_RETURN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user