mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Fix for bug which caused grant.test fail on darwin7.3. We were converting db and table
names to lower case using latin1 instead of utf-8 in sql_acl.cc if lower_case_table_names was on. Also replaced in other such places system_charset_info with files_charset_info for consistency.
This commit is contained in:
@@ -422,7 +422,7 @@ mysql_find_files(THD *thd,List<char> *files, const char *db,const char *path,
|
||||
{
|
||||
if (lower_case_table_names)
|
||||
{
|
||||
if (wild_case_compare(system_charset_info,file->name,wild))
|
||||
if (wild_case_compare(files_charset_info, file->name, wild))
|
||||
continue;
|
||||
}
|
||||
else if (wild_compare(file->name,wild,0))
|
||||
|
||||
Reference in New Issue
Block a user