summaryrefslogtreecommitdiff
path: root/include/my_pthread.h
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-01-14 11:27:26 +0200
committerunknown <monty@mashka.mysql.fi>2003-01-14 11:27:26 +0200
commitef6c36c0c262ada284647cdf91d4cc2c599b7fdf (patch)
treed53ba7e1a43cc73daf4f75fa37f9467d8792fd64 /include/my_pthread.h
parentda1ff072c28eb58197892ba28c281e6ad0487c17 (diff)
downloadmariadb-git-ef6c36c0c262ada284647cdf91d4cc2c599b7fdf.tar.gz
Guard against compiling without -fno-exceptions
Allocate bigger default thread stack because of problems with glibc Fixed bug in UPDATE ... not_null_field=expression_that_returns_null Fixed bug in replication when using auto_increment and LOAD DATA INFILE include/my_global.h: Guard against compiling without -fno-exceptions include/my_pthread.h: Allocate bigger default thread stack because of problems with glibc mysql-test/r/null.result: Updated result mysql-test/t/null.test: Test of using UPDATE/INSERT with NULL on not null fields. sql/field_conv.cc: Fixed bug in UPDATE ... not_null_field=expression_that_returns_null sql/sql_load.cc: Fixed bug in replication when using auto_increment and LOAD DATA INFILE
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r--include/my_pthread.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h
index f75ca8f601a..e0394bc978a 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -581,9 +581,13 @@ extern int pthread_dummy(int);
#define THREAD_NAME_SIZE 10
#if defined(__ia64__)
-#define DEFAULT_THREAD_STACK (128*1024)
+/*
+ MySQL can survive with 32K, but some glibc libraries require > 128K stack
+ To resolve hostnames
+*/
+#define DEFAULT_THREAD_STACK (192*1024L)
#else
-#define DEFAULT_THREAD_STACK (64*1024)
+#define DEFAULT_THREAD_STACK (192*1024L)
#endif
struct st_my_thread_var