1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-28671 post-merge fixes

* use new deprecated printer for all deprecated server options
* restore alphabetic option sorting order
* move deprecated printer from mysqld.cc to my_getopt.c
* in --help print deprecation message at the end of the option help
* move 'ALL' help text where it belongs - to other SET options, and
  with a correct indentation.
* consistently end all or none command-line option help strings
  with a dot - my_print_help() needs that.
  It's about 50/50 now, so let's do none, less line wraps in --help
* remove trailing spaces from command-line option help strings
This commit is contained in:
Sergei Golubchik
2024-03-12 15:26:29 +01:00
parent 4186fa72fb
commit df10a945fc
42 changed files with 1704 additions and 1756 deletions

View File

@@ -50,7 +50,7 @@ static void rotate_log(MYSQL_THD thd, struct st_mysql_sys_var *var,
void *var_ptr, const void *save);
static MYSQL_SYSVAR_UINT(rate, rate, PLUGIN_VAR_RQCMDARG,
"Sampling rate. If set to 0(zero), the logging is disabled.", NULL, NULL,
"Sampling rate. If set to 0(zero), the logging is disabled", NULL, NULL,
1, 0, 1000000, 1);
static MYSQL_SYSVAR_ULONGLONG(size_limit, size_limit,
@@ -58,7 +58,7 @@ static MYSQL_SYSVAR_ULONGLONG(size_limit, size_limit,
1000000, 100, ((long long) 0x7FFFFFFFFFFFFFFFLL), 1);
static MYSQL_SYSVAR_UINT(rotations, rotations,
PLUGIN_VAR_READONLY, "Number of rotations before log is removed.",
PLUGIN_VAR_READONLY, "Number of rotations before log is removed",
NULL, NULL, 9, 1, 999, 1);
static MYSQL_SYSVAR_BOOL(rotate, rotate,
@@ -72,7 +72,7 @@ static MYSQL_SYSVAR_STR(filename, filename,
static MYSQL_SYSVAR_BOOL(warnings, warnings,
PLUGIN_VAR_OPCMDARG,
"Warnings. If set to 0, warnings are not logged.",
"Warnings. If set to 0, warnings are not logged",
NULL, NULL, 1);
static MYSQL_SYSVAR_BOOL(with_db_and_thread_info, with_db_and_thread_info,