#At file:///Users/shulga/projects/mysql/5.1-bugteam-bug36742/ based on revid:davi.arnaut@stripped
3498 Dmitry Shulga 2010-09-27
Fixed bug#36742 - GRANT hostname case handling inconsistent.
@ sql/sql_yacc.yy
It was added convertation of host name part of user name to lowercase.
modified:
sql/sql_yacc.yy
=== modified file 'sql/sql_yacc.yy'
--- a/sql/sql_yacc.yy 2010-08-30 22:16:38 +0000
+++ b/sql/sql_yacc.yy 2010-09-27 10:55:33 +0000
@@ -11567,6 +11567,8 @@ user:
system_charset_info, 0) ||
check_host_name(&$$->host))
MYSQL_YYABORT;
+ /* Convert hostname part of username to lowercase. */
+ my_casedn_str(files_charset_info, $$->host.str);
}
| CURRENT_USER optional_braces
{
Attachment: [text/bzr-bundle] bzr/dmitry.shulga@sun.com-20100927105533-xqkfo69237h7vl7f.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-bugteam branch (Dmitry.Shulga:3498) Bug#36742 | Dmitry Shulga | 27 Sep |