diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 18b8148ed57..62b6ad5c33b 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -1995,9 +1995,7 @@ static void clean_up(bool print_message) sp_cache_end(); free_status_vars(); end_thr_alarm(1); /* Free allocated memory */ -#ifndef EMBEDDED_LIBRARY end_thr_timer(); -#endif my_free_open_file_info(); if (defaults_argv) free_defaults(defaults_argv); @@ -4737,13 +4735,11 @@ static int init_server_components() init_thr_lock(); backup_init(); -#ifndef EMBEDDED_LIBRARY if (init_thr_timer(thread_scheduler->max_threads + extra_max_connections)) { fprintf(stderr, "Can't initialize timers\n"); unireg_abort(1); } -#endif my_uuid_init((ulong) (my_rnd(&sql_rand))*12345,12345); wt_init();