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 | 80cc259c115d4a66255b24b27645af4b6731e99a (patch) | |
tree | db5b048d932d54bae48b133475186832d5afab92 /mysql-test/r/no-threads.result | |
parent | 1a4c92bc63ac7727fdda8b58b53f5c91b002d8e7 (diff) | |
download | mariadb-git-80cc259c115d4a66255b24b27645af4b6731e99a.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/r/no-threads.result')
-rw-r--r-- | mysql-test/r/no-threads.result | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/no-threads.result b/mysql-test/r/no-threads.result index 50e52138be8..aefecd0f7bc 100644 --- a/mysql-test/r/no-threads.result +++ b/mysql-test/r/no-threads.result @@ -4,3 +4,6 @@ select 1+1; select 1+2; 1+2 3 +SHOW GLOBAL VARIABLES LIKE 'thread_handling'; +Variable_name Value +thread_handling no-threads |