Commit 03b0d16f authored by unknown's avatar unknown

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
parent ef8a29b2
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment