diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 0da0b442946..9c2c491616b 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -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 {