1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-30 11:22:14 +03:00
Files
mariadb/mysql-test/suite/sys_vars/t/thread_stack_basic.test
Sergei Golubchik 84645366c4 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
2019-03-06 15:12:11 +01:00

24 lines
695 B
Plaintext

#
# only global
#
--replace_result 372736 299008
select @@global.thread_stack;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@session.thread_stack;
--replace_result 372736 299008
show global variables like 'thread_stack';
--replace_result 372736 299008
show session variables like 'thread_stack';
--replace_result 372736 299008
select * from information_schema.global_variables where variable_name='thread_stack';
--replace_result 372736 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;