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 /sql/scheduler.h | |
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 'sql/scheduler.h')
-rw-r--r-- | sql/scheduler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/scheduler.h b/sql/scheduler.h index 8351cefda4c..46bbd300cbb 100644 --- a/sql/scheduler.h +++ b/sql/scheduler.h @@ -40,7 +40,7 @@ public: enum scheduler_types { - SCHEDULER_ONE_THREAD_PER_CONNECTION=1, + SCHEDULER_ONE_THREAD_PER_CONNECTION=0, SCHEDULER_NO_THREADS, SCHEDULER_POOL_OF_THREADS }; |