diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2021-03-12 08:43:37 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2021-03-12 08:44:55 +0100 |
commit | 031b3dfc22c3d37769d49da902401b26a24f12b4 (patch) | |
tree | 8fa75c509f99994a6044a737040363c469e463e6 /include/my_pthread.h | |
parent | 4c2b6be38e7c62d585b137ab9b3af4907a08a737 (diff) | |
download | mariadb-git-031b3dfc22c3d37769d49da902401b26a24f12b4.tar.gz |
MDEV-25123 support MSVC ASAN
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r-- | include/my_pthread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h index 66876032178..a1b80889ed3 100644 --- a/include/my_pthread.h +++ b/include/my_pthread.h @@ -667,7 +667,11 @@ extern void my_mutex_end(void); with the current number of keys and key parts. */ #if defined(__SANITIZE_ADDRESS__) || defined(WITH_UBSAN) +#ifndef DBUG_OFF +#define DEFAULT_THREAD_STACK (1024*1024L) +#else #define DEFAULT_THREAD_STACK (383*1024L) /* 392192 */ +#endif #else #define DEFAULT_THREAD_STACK (292*1024L) /* 299008 */ #endif |