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:
unknown 2006-02-08 20:26:56 -05:00
parent e5200bc17d
commit 256d852732
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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;
}