Commit a05b38c1 authored by Vicențiu Ciorbaru's avatar Vicențiu Ciorbaru

MDEV-18650: Options deprecated in previous versions - skip-bdb

Remove the option from mysqld --help text.
parent 8bbcaab1
...@@ -1120,8 +1120,6 @@ The following specify which files/extra groups are read (specified before remain ...@@ -1120,8 +1120,6 @@ The following specify which files/extra groups are read (specified before remain
Show user and password in SHOW SLAVE HOSTS on this Show user and password in SHOW SLAVE HOSTS on this
master. master.
--silent-startup Don't print [Note] to the error log during startup. --silent-startup Don't print [Note] to the error log during startup.
--skip-bdb Deprecated option; Exist only for compatibility with old
my.cnf files
--skip-grant-tables Start without grant tables. This gives all users FULL --skip-grant-tables Start without grant tables. This gives all users FULL
ACCESS to all tables. ACCESS to all tables.
--skip-host-cache Don't cache host names. --skip-host-cache Don't cache host names.
......
...@@ -5050,6 +5050,8 @@ static int init_server_components() ...@@ -5050,6 +5050,8 @@ static int init_server_components()
compatibility, but do not have any effect otherwise, they behave compatibility, but do not have any effect otherwise, they behave
as if supplied with --loose. Whenever a deprecated option is removed as if supplied with --loose. Whenever a deprecated option is removed
it should be appended here. */ it should be appended here. */
{"skip-bdb", OPT_DEPRECATED_OPTION, "",
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
{"thread-concurrency", OPT_DEPRECATED_OPTION, "", {"thread-concurrency", OPT_DEPRECATED_OPTION, "",
0, 0, 0, GET_NO_ARG, OPT_ARG, 0, 0, 0, 0, 0, 0}, 0, 0, 0, GET_NO_ARG, OPT_ARG, 0, 0, 0, 0, 0, 0},
{"timed-mutexes", OPT_DEPRECATED_OPTION, "", {"timed-mutexes", OPT_DEPRECATED_OPTION, "",
...@@ -6738,9 +6740,6 @@ struct my_option my_long_options[]= ...@@ -6738,9 +6740,6 @@ struct my_option my_long_options[]=
GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0}, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
{"silent-startup", OPT_SILENT, "Don't print [Note] to the error log during startup.", {"silent-startup", OPT_SILENT, "Don't print [Note] to the error log during startup.",
&opt_silent_startup, &opt_silent_startup, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0}, &opt_silent_startup, &opt_silent_startup, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
{"skip-bdb", OPT_DEPRECATED_OPTION,
"Deprecated option; Exist only for compatibility with old my.cnf files",
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
#ifndef DISABLE_GRANT_OPTIONS #ifndef DISABLE_GRANT_OPTIONS
{"skip-grant-tables", 0, {"skip-grant-tables", 0,
"Start without grant tables. This gives all users FULL ACCESS to all tables.", "Start without grant tables. This gives all users FULL ACCESS to all tables.",
......
...@@ -117,6 +117,7 @@ static const char *removed_variables[] = ...@@ -117,6 +117,7 @@ static const char *removed_variables[] =
"log_slow_queries", "log_slow_queries",
"max_long_data_size", "max_long_data_size",
"rpl_recovery_rank", "rpl_recovery_rank",
"skip_bdb",
"sql_big_tables", "sql_big_tables",
"sql_low_priority_updates", "sql_low_priority_updates",
"sql_max_join_size", "sql_max_join_size",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment