summaryrefslogtreecommitdiff
path: root/sql/scheduler.h
diff options
context:
space:
mode:
authorMats Kindahl <mats.kindahl@oracle.com>2010-10-08 14:44:57 +0200
committerMats Kindahl <mats.kindahl@oracle.com>2010-10-08 14:44:57 +0200
commit0a9c39684e01038f4bde6adfab1860b92df684f8 (patch)
treeb5d5ec6caab42d0d37bfa364d02153d5048ee7a6 /sql/scheduler.h
parent96daec35d1b639f5d0f87df295a932fb907c088f (diff)
downloadmariadb-git-0a9c39684e01038f4bde6adfab1860b92df684f8.tar.gz
WL#5363: Thread Pool Service Interface
Adding a comment to scheduler_types on the default values used.
Diffstat (limited to 'sql/scheduler.h')
-rw-r--r--sql/scheduler.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/scheduler.h b/sql/scheduler.h
index 40f0e28bc2c..b5a175434b6 100644
--- a/sql/scheduler.h
+++ b/sql/scheduler.h
@@ -57,6 +57,13 @@ struct scheduler_functions
*/
enum scheduler_types
{
+ /*
+ The default of --thread-handling is the first one in the
+ thread_handling_names array, this array has to be consistent with
+ the order in this array, so to change default one has to change
+ the first entry in this enum and the first entry in the
+ thread_handling_names array.
+ */
SCHEDULER_ONE_THREAD_PER_CONNECTION=0,
SCHEDULER_NO_THREADS,
SCHEDULER_TYPES_COUNT