Commit 3234fafe authored by Hartmut Holzgraefe's avatar Hartmut Holzgraefe

MDEV-726 - CREATE and ALTER SERVER need to lowercase host name

parent 4c45b820
...@@ -2665,6 +2665,7 @@ server_option: ...@@ -2665,6 +2665,7 @@ server_option:
{ {
MYSQL_YYABORT_UNLESS(Lex->server_options.host.str == 0); MYSQL_YYABORT_UNLESS(Lex->server_options.host.str == 0);
Lex->server_options.host= $2; Lex->server_options.host= $2;
my_casedn_str(system_charset_info, Lex->server_options.host.str);
} }
| DATABASE TEXT_STRING_sys | DATABASE TEXT_STRING_sys
{ {
......
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