1
2--source include/not_embedded.inc
3--source include/not_threadpool.inc
4#
5# Test the --thread-handler=no-threads option
6#
7select 1+1;
8select 1+2;
9SHOW GLOBAL VARIABLES LIKE 'thread_handling';
10
11#
12# Bug #30651	Problems with thread_handling system variable
13#
14
15--error ER_INCORRECT_GLOBAL_LOCAL_VAR
16select @@session.thread_handling;
17
18--error ER_INCORRECT_GLOBAL_LOCAL_VAR
19set GLOBAL thread_handling='one-thread';
20