From 06eaf7232e9a920468c0f8d74dcf2fe8b555501c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:24:36 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/main/no-threads.test | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 mysql-test/main/no-threads.test (limited to 'mysql-test/main/no-threads.test') diff --git a/mysql-test/main/no-threads.test b/mysql-test/main/no-threads.test new file mode 100644 index 00000000..8235ff67 --- /dev/null +++ b/mysql-test/main/no-threads.test @@ -0,0 +1,20 @@ +# 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 + +# +# 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'; -- cgit v1.2.3