From 3edb7774edf059834cb6b29fc4a9634802ea7dc7 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 5 Jan 2005 19:02:17 +0100 Subject: [PATCH 1/2] Allow DEFAULT_THREAD_STACK to be set via -DDEFAULT_THREAD_STACK=... so our official binary builds for Linux that are built against a static glibc with a 128k thread stack size limit can be compiled with a default that doesn't result in a harmless (but oft-misunderstood) warning message. (Bug #6226) include/my_pthread.h: Allow DEFAULT_THREAD_STACK to be set via -DDEFAULT_THREAD_STACK=... --- include/my_pthread.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/my_pthread.h b/include/my_pthread.h index 40302f48bd5..7620b46e08b 100644 --- a/include/my_pthread.h +++ b/include/my_pthread.h @@ -624,6 +624,7 @@ extern int pthread_dummy(int); /* All thread specific variables are in the following struct */ #define THREAD_NAME_SIZE 10 +#ifndef DEFAULT_THREAD_STACK #if defined(__ia64__) /* MySQL can survive with 32K, but some glibc libraries require > 128K stack @@ -633,6 +634,7 @@ extern int pthread_dummy(int); #else #define DEFAULT_THREAD_STACK (192*1024L) #endif +#endif struct st_my_thread_var { From 10844e41da65bd86a781e314a15a60b8b21d40d8 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 6 Jan 2005 14:35:14 +0100 Subject: [PATCH 2/2] - enable "with-extra-charsets=complex" for the "compile-dist" distribution build (to make the test suite pass) BUILD/compile-dist: - enable "with-extra-charsets=complex" for the distribution build (to make the test suite pass) --- BUILD/compile-dist | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BUILD/compile-dist b/BUILD/compile-dist index 2344d4dfffd..ef6302f0d9c 100755 --- a/BUILD/compile-dist +++ b/BUILD/compile-dist @@ -42,5 +42,6 @@ fi --with-embedded-server \ --with-berkeley-db \ --with-innodb \ - --enable-thread-safe-client + --enable-thread-safe-client \ + --with-extra-charsets=complex make