Skip to content

Commit

Permalink
cleanup: replace exit(1) with abort()
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgs committed Nov 30, 2019
1 parent 6fe2aae commit 33cf4da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions storage/innobase/os/os0thread.cc
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ os_thread_create_func(
fprintf(stderr,
"InnoDB: Error: pthread_attr_init() returned %d\n",
ret);
exit(1);
abort();
}
#endif

Expand All @@ -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);
Expand All @@ -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
Expand Down

0 comments on commit 33cf4da

Please sign in to comment.