summaryrefslogtreecommitdiff
path: root/mysql-test/r/no-threads.result
diff options
context:
space:
mode:
authorunknown <dkatz@damien-katzs-computer.local>2007-11-14 16:12:46 -0500
committerunknown <dkatz@damien-katzs-computer.local>2007-11-14 16:12:46 -0500
commit80cc259c115d4a66255b24b27645af4b6731e99a (patch)
treedb5b048d932d54bae48b133475186832d5afab92 /mysql-test/r/no-threads.result
parent1a4c92bc63ac7727fdda8b58b53f5c91b002d8e7 (diff)
downloadmariadb-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.result3
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