From affc7f664c6cf56a6f26a7a98b8ff3648ad338d0 Mon Sep 17 00:00:00 2001 From: marko <> Date: Thu, 26 Jan 2006 13:12:11 +0000 Subject: [PATCH] Port r142 of branches/5.0 (from MySQL): NetWare specific change to increase thread stack size. --- os/os0thread.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/os/os0thread.c b/os/os0thread.c index 847d0ee1cc7..1d1cb77b336 100644 --- a/os/os0thread.c +++ b/os/os0thread.c @@ -147,6 +147,15 @@ os_thread_create( "InnoDB: Error: pthread_attr_setstacksize returned %d\n", ret); exit(1); } +#endif +#ifdef __NETWARE__ + ret = pthread_attr_setstacksize(&attr, + (size_t) NW_THD_STACKSIZE); + if (ret) { + fprintf(stderr, + "InnoDB: Error: pthread_attr_setstacksize returned %d\n", ret); + exit(1); + } #endif os_mutex_enter(os_sync_mutex); os_thread_count++; -- 2.30.9