From 33cf4da1838f3f13d8e973e7f46cc486f1183338 Mon Sep 17 00:00:00 2001 From: Eugene Kosov Date: Sat, 30 Nov 2019 18:19:20 +0700 Subject: [PATCH] cleanup: replace exit(1) with abort() --- storage/innobase/os/os0thread.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/storage/innobase/os/os0thread.cc b/storage/innobase/os/os0thread.cc index ed3f1a13f42c5..1182166f5227d 100644 --- a/storage/innobase/os/os0thread.cc +++ b/storage/innobase/os/os0thread.cc @@ -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