summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <jani@ua141d10.elisa.omakaista.fi>2006-01-12 17:47:58 +0200
committerunknown <jani@ua141d10.elisa.omakaista.fi>2006-01-12 17:47:58 +0200
commit1665d2370716a44acf7d35339019ad5b9e134b99 (patch)
treeed99abce17eba845952b63ae907b2af360071ce3 /innobase
parent0fa2fdb9be2ae0c296af43994557d4873e7405d0 (diff)
parent2946f9a64f664293010777e422e7b66058ce323a (diff)
downloadmariadb-git-1665d2370716a44acf7d35339019ad5b9e134b99.tar.gz
Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.0
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 include/config-netware.h: Auto merged innobase/os/os0thread.c: Auto merged netware/mysqld_safe.c: Merge from 4.0 to 4.1 sql/mysqld.cc: Merge from 4.0 to 4.1
Diffstat (limited to 'innobase')
-rw-r--r--innobase/os/os0thread.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/innobase/os/os0thread.c b/innobase/os/os0thread.c
index 0278e3b2b66..e1a1119cfd4 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);