DP_S/build/lib/mysql/mysql-test/t/no-threads.test

17 lines
337 B
Plaintext
Raw Normal View History

2024-04-24 10:25:44 +08:00
#
# Test the --thread-handler=no-threads option
#
select 1+1;
select 1+2;
SHOW GLOBAL VARIABLES LIKE 'thread_handling';
#
# Bug #30651 Problems with thread_handling system variable
#
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@session.thread_handling;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set GLOBAL thread_handling='one-thread';