1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-17 14:41:26 +03:00
mariadb/mysql-test/t/no-threads.test
unknown 8c3048e9da Bug#28785 thread-handling not displayed properly in SHOW VARIABLES
mysql-test/r/no-threads.result:
  Test that we are in the 'no-threads' thread_handling mode.
mysql-test/t/no-threads.test:
  Test that we are in the 'no-threads' thread_handling mode.
sql/mysqld.cc:
  Changes to make global_system_variables.thread_handling be zero based, instead of 1
  based.
sql/scheduler.h:
  Changed the enum to start at 0, to match the array elements in thread_handling_names
  in mysqld.cc
2007-11-14 16:12:46 -05:00

7 lines
120 B
Plaintext

#
# Test the --thread-handler=no-threads option
#
select 1+1;
select 1+2;
SHOW GLOBAL VARIABLES LIKE 'thread_handling';