Commit 559bc0c1 authored by heikki@hundin.mysql.fi's avatar heikki@hundin.mysql.fi
Browse files

srv0start.c:

  Remove freeing of all memory at shutdown: since we do not exit the i/o-handlers and other threads, we could potentially get a seg fault at shutdown
parent 18bb6008
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -1363,7 +1363,14 @@ innobase_shutdown_for_mysql(void)
		srv_conc_n_threads);
	}

	/*
	TODO: We should exit the i/o-handler and other utility threads
	before freeing all memory. Now this can potentially cause a seg
	fault!
	*/
#ifdef NOT_WORKING_YET
        ut_free_all_mem();
#endif 

	return((int) DB_SUCCESS);
}