summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <jani@ua141d10.elisa.omakaista.fi>2006-01-12 20:28:23 +0200
committerunknown <jani@ua141d10.elisa.omakaista.fi>2006-01-12 20:28:23 +0200
commit53e272e3b1c2f56933e2adce64787a83ca39dee6 (patch)
tree986db555a436ebf570733597877d21e2ffa95d36 /innobase
parent99f617e96ffa213214d960cdabf240b289f2f2c3 (diff)
parentab58ea55c1b0b65576b1a4d9a0e335103a46f8cd (diff)
downloadmariadb-git-53e272e3b1c2f56933e2adce64787a83ca39dee6.tar.gz
Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0 client/mysqlimport.c: Auto merged include/config-netware.h: Auto merged innobase/os/os0thread.c: Auto merged netware/mysqld_safe.c: Auto merged sql/item_cmpfunc.cc: Auto merged sql/mysqld.cc: Merged from 4.1. sql/sql_base.cc: Merged from 4.1. sql/sql_handler.cc: Merged from 4.1. sql/sql_select.cc: Merged from 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 847d0ee1cc7..1d1cb77b336 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);