mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Create 'main' test directory and move 't' and 'r' there
This commit is contained in:
17
mysql-test/main/no-threads.test
Normal file
17
mysql-test/main/no-threads.test
Normal file
@ -0,0 +1,17 @@
|
||||
--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';
|
Reference in New Issue
Block a user