mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
mysqld.cc:
default_collation is now displayed correctly in mysqld --help mysqld --help now displays default_collation corretly, according to --default-character-set sql/mysqld.cc: default_collation is now displayed correctly in mysqld --help
This commit is contained in:
parent
9b92f5858a
commit
bf71feca00
1 changed files with 6 additions and 0 deletions
|
@ -4533,6 +4533,12 @@ static void use_help(void)
|
||||||
|
|
||||||
static void usage(void)
|
static void usage(void)
|
||||||
{
|
{
|
||||||
|
if (!(default_charset_info= get_charset_by_csname(sys_charset.value,
|
||||||
|
MY_CS_PRIMARY,
|
||||||
|
MYF(MY_WME))))
|
||||||
|
exit(1);
|
||||||
|
if (!default_collation_name)
|
||||||
|
default_collation_name= (char*) default_charset_info->name;
|
||||||
print_version();
|
print_version();
|
||||||
puts("\
|
puts("\
|
||||||
Copyright (C) 2000 MySQL AB, by Monty and others\n\
|
Copyright (C) 2000 MySQL AB, by Monty and others\n\
|
||||||
|
|
Loading…
Add table
Reference in a new issue