summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
authorArun Kuruvila <arun.kuruvila@oracle.com>2014-07-02 14:52:52 +0530
committerArun Kuruvila <arun.kuruvila@oracle.com>2014-07-02 14:52:52 +0530
commitcf50d1e6d68669b4b449ca04bd166abc9faa1f37 (patch)
treeb886a6cde80fe45355dc82e6a89234a023d40210 /sql/sys_vars.cc
parent43268d20e747f4e4194ea26f7fecc434e0ebf550 (diff)
downloadmariadb-git-cf50d1e6d68669b4b449ca04bd166abc9faa1f37.tar.gz
Bug#17873011 NO DEPRECATION WARNING FOR THREAD_CONCURRENCY
Description: THREAD_CONCURRENCY is deprecated and there is no deprecation warning message while setting this variable while starting the server. Analysis: This variable is specific to Solaris 8 and earlier systems and is ignored on all other platforms. But since many customers, who uses other than Solaris, still has this variable in their configuration file, it is important to have a deprecation warning. Fix: THREAD_CONCURRENCY deprecation warning message is added.
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r--sql/sys_vars.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index f8b2c022ba5..3cb72480341 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -1800,7 +1800,8 @@ static Sys_var_ulong Sys_thread_concurrency(
"the desired number of threads that should be run at the same time."
"This variable has no effect, and is deprecated. "
"It will be removed in a future release.",
- READ_ONLY GLOBAL_VAR(concurrency), CMD_LINE(REQUIRED_ARG),
+ READ_ONLY GLOBAL_VAR(concurrency),
+ CMD_LINE(REQUIRED_ARG, OPT_THREAD_CONCURRENCY),
VALID_RANGE(1, 512), DEFAULT(DEFAULT_CONCURRENCY), BLOCK_SIZE(1),
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0), ON_UPDATE(0),
DEPRECATED(""));