diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-03-08 10:21:58 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-03-08 10:40:30 +0200 |
commit | 94eb56fb29334a1075103becb625685b23f7d437 (patch) | |
tree | ebf33eb8386348c44c0e5bba0505fe3461dc4044 /include/my_pthread.h | |
parent | 136d21c82f835dd85a53057c67d4476f5b971a47 (diff) | |
download | mariadb-git-94eb56fb29334a1075103becb625685b23f7d437.tar.gz |
Give ASAN some more stack
When compiling CMAKE_BUILD_TYPE=Debug WITH_ASAN using clang-7 -O2
the following tests could fail due to insufficient stack size:
main.signal_demo3 sys_vars.max_sp_recursion_depth_func
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r-- | include/my_pthread.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h index 302d4e95cea..264125a8fe3 100644 --- a/include/my_pthread.h +++ b/include/my_pthread.h @@ -1,5 +1,5 @@ /* Copyright (c) 2000, 2014, Oracle and/or its affiliates. - Copyright (c) 2009, 2017, MariaDB Corporation. + Copyright (c) 2009, 2019, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -692,9 +692,9 @@ extern void my_mutex_end(void); with the current number of keys and key parts. */ #ifdef __SANITIZE_ADDRESS__ -#define DEFAULT_THREAD_STACK (364*1024L) +#define DEFAULT_THREAD_STACK (383*1024L) /* 392192 */ #else -#define DEFAULT_THREAD_STACK (292*1024L) +#define DEFAULT_THREAD_STACK (292*1024L) /* 299008 */ #endif #endif |