Commit 256d8527 authored by unknown's avatar unknown
Browse files

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 e5200bc1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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;
}