summaryrefslogtreecommitdiff
path: root/mysql-test/main/no-threads.test
blob: c1a608a57e682974f2a72dae886c8bbafc7e3061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Tests will be skipped for the view protocol because the view protocol creates 
# an additional util connection and other statistics data
-- source include/no_view_protocol.inc

--source include/one_thread_per_connection.inc
#
# 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';