Commit 33cf4da1 authored by Eugene Kosov's avatar Eugene Kosov

cleanup: replace exit(1) with abort()

parent 6fe2aae3
...@@ -148,7 +148,7 @@ os_thread_create_func( ...@@ -148,7 +148,7 @@ os_thread_create_func(
fprintf(stderr, fprintf(stderr,
"InnoDB: Error: pthread_attr_init() returned %d\n", "InnoDB: Error: pthread_attr_init() returned %d\n",
ret); ret);
exit(1); abort();
} }
#endif #endif
...@@ -165,7 +165,7 @@ os_thread_create_func( ...@@ -165,7 +165,7 @@ os_thread_create_func(
fprintf(stderr, fprintf(stderr,
"InnoDB: Error: pthread_attr_setstacksize" "InnoDB: Error: pthread_attr_setstacksize"
" returned %d\n", ret); " returned %d\n", ret);
exit(1); abort();
} }
#endif #endif
os_mutex_enter(os_sync_mutex); os_mutex_enter(os_sync_mutex);
...@@ -180,7 +180,7 @@ os_thread_create_func( ...@@ -180,7 +180,7 @@ os_thread_create_func(
if (UNIV_UNLIKELY(ret)) { if (UNIV_UNLIKELY(ret)) {
fprintf(stderr, fprintf(stderr,
"InnoDB: Error: pthread_create() returned %d\n", ret); "InnoDB: Error: pthread_create() returned %d\n", ret);
exit(1); abort();
} }
#ifndef UNIV_HPUX10 #ifndef UNIV_HPUX10
......
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