mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
ASAN loves stack, give it some
fixes these test failures in ASAN builds (in 10.1 and 10.4): * main.signal_demo3 * main.sp * sys_vars.max_sp_recursion_depth_func * mroonga/storage.foreign_key_delete_existent * mroonga/storage.foreign_key_delete_nonexistent * mroonga/storage.foreign_key_insert_existent * mroonga/storage.foreign_key_update_existent * mroonga/storage.foreign_key_update_nonexistent * mroonga/storage.function_command_auto-escape * mroonga/storage.function_command_select * mroonga/storage.variable_enable_operations_recording_insert
This commit is contained in:
@@ -734,7 +734,11 @@ extern void my_mutex_end(void);
|
||||
We need to have at least 256K stack to handle calls to myisamchk_init()
|
||||
with the current number of keys and key parts.
|
||||
*/
|
||||
#define DEFAULT_THREAD_STACK (289*1024L)
|
||||
#ifdef __SANITIZE_ADDRESS__
|
||||
#define DEFAULT_THREAD_STACK (364*1024L)
|
||||
#else
|
||||
#define DEFAULT_THREAD_STACK (292*1024L)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define MY_PTHREAD_LOCK_READ 0
|
||||
|
Reference in New Issue
Block a user