diff options
author | jani@ua141d10.elisa.omakaista.fi <> | 2006-01-12 15:10:12 +0200 |
---|---|---|
committer | jani@ua141d10.elisa.omakaista.fi <> | 2006-01-12 15:10:12 +0200 |
commit | af845f6eff7d04963e01ef474e41bdb5adafd403 (patch) | |
tree | df4234c3a0ca83e32bcec81b0e3a16f40606c301 /innobase | |
parent | fd4a04032594cab1dbfd9a0e4e8358898b0d0da2 (diff) | |
download | mariadb-git-af845f6eff7d04963e01ef474e41bdb5adafd403.tar.gz |
NetWare specific change to increase thread stack size.
Changes to Netware specific mysqld_safe.c
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/os/os0thread.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/innobase/os/os0thread.c b/innobase/os/os0thread.c index 59d0fdbd8c9..cb72310f23d 100644 --- a/innobase/os/os0thread.c +++ b/innobase/os/os0thread.c @@ -148,6 +148,15 @@ os_thread_create( 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++; os_mutex_exit(os_sync_mutex); |