summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
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
commitab58ea55c1b0b65576b1a4d9a0e335103a46f8cd (patch)
treeed99abce17eba845952b63ae907b2af360071ce3 /sql/mysqld.cc
parentf5f3103957376b5ffaaa95929f79217f9301c906 (diff)
parent0aef5e3681784f68e64f74b02f5ad80308fd9800 (diff)
downloadmariadb-git-ab58ea55c1b0b65576b1a4d9a0e335103a46f8cd.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 'sql/mysqld.cc')
-rw-r--r--sql/mysqld.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 7b9e7d54d8f..cce48cc0d54 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -3089,6 +3089,12 @@ int main(int argc, char **argv)
}
}
#endif
+#ifdef __NETWARE__
+ /* Increasing stacksize of threads on NetWare */
+
+ pthread_attr_setstacksize(&connection_attrib, NW_THD_STACKSIZE);
+#endif
+
thread_stack_min=thread_stack - STACK_MIN_SIZE;
(void) thr_setconcurrency(concurrency); // 10 by default