diff options
author | unknown <dkatz@damien-katzs-computer.local> | 2007-11-14 16:12:46 -0500 |
---|---|---|
committer | unknown <dkatz@damien-katzs-computer.local> | 2007-11-14 16:12:46 -0500 |
commit | 8c3048e9da7473fea1d2ca4276245724d6197673 (patch) | |
tree | db5b048d932d54bae48b133475186832d5afab92 /mysql-test/t/no-threads.test | |
parent | 7eef514621ade372082cf26478b594c218b598b5 (diff) | |
download | mariadb-git-8c3048e9da7473fea1d2ca4276245724d6197673.tar.gz |
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
Diffstat (limited to 'mysql-test/t/no-threads.test')
-rw-r--r-- | mysql-test/t/no-threads.test | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/t/no-threads.test b/mysql-test/t/no-threads.test index 806cf24e961..31ea6406ee9 100644 --- a/mysql-test/t/no-threads.test +++ b/mysql-test/t/no-threads.test @@ -3,3 +3,4 @@ # select 1+1; select 1+2; +SHOW GLOBAL VARIABLES LIKE 'thread_handling'; |