mirror of
https://github.com/MariaDB/server.git
synced 2025-07-06 19:38:16 +02:00

Without this increase the mtr test case pre/post conditions will fail as the stack usage has increased under MSAN with clang-20.1. ASAN takes a 11M stack, however there was no obvious gain in MSAN test success after 2M. The resulting behaviour observed on smaller stack size was a SEGV normally. Hide the default stack size from the sysvar tests that expose thread-stack as a variable with its default value.
26 lines
786 B
Text
26 lines
786 B
Text
#
|
|
# only global
|
|
#
|
|
--source include/not_asan.inc
|
|
--source include/not_ubsan.inc
|
|
--source include/not_msan.inc
|
|
--replace_result 392192 299008
|
|
select @@global.thread_stack;
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
select @@session.thread_stack;
|
|
--replace_result 392192 299008
|
|
show global variables like 'thread_stack';
|
|
--replace_result 392192 299008
|
|
show session variables like 'thread_stack';
|
|
--replace_result 392192 299008
|
|
select * from information_schema.global_variables where variable_name='thread_stack';
|
|
--replace_result 392192 299008
|
|
select * from information_schema.session_variables where variable_name='thread_stack';
|
|
|
|
#
|
|
# show that it's read-only
|
|
#
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
set global thread_stack=1;
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
set session thread_stack=1;
|