summaryrefslogtreecommitdiff
path: root/mysql-test/t/no-threads.test
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
commit8c3048e9da7473fea1d2ca4276245724d6197673 (patch)
treedb5b048d932d54bae48b133475186832d5afab92 /mysql-test/t/no-threads.test
parent7eef514621ade372082cf26478b594c218b598b5 (diff)
downloadmariadb-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.test1
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';