1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-25123 support MSVC ASAN

This commit is contained in:
Vladislav Vaintroub
2021-03-12 08:43:37 +01:00
parent 4c2b6be38e
commit 031b3dfc22
4 changed files with 29 additions and 15 deletions

View File

@@ -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