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

This commit is contained in:
Hartmut Holzgraefe 2016-10-08 15:57:12 +02:00
parent 4c45b820aa
commit 3234fafebf

View file

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