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