diff options
author | Eugene Kosov <claprix@yandex.ru> | 2019-11-30 18:19:20 +0700 |
---|---|---|
committer | Eugene Kosov <claprix@yandex.ru> | 2019-11-30 18:19:20 +0700 |
commit | 33cf4da1838f3f13d8e973e7f46cc486f1183338 (patch) | |
tree | 340ff0116eebf29582c233a29aa3f203a8ab4e4e /storage | |
parent | 6fe2aae3ce8139864dfe45f2f9834f82ef54ff1e (diff) | |
download | mariadb-git-33cf4da1838f3f13d8e973e7f46cc486f1183338.tar.gz |
cleanup: replace exit(1) with abort()
Diffstat (limited to 'storage')
-rw-r--r-- | storage/innobase/os/os0thread.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/innobase/os/os0thread.cc b/storage/innobase/os/os0thread.cc index ed3f1a13f42..1182166f522 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 |