mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
View field names should be case insensitive
This commit is contained in:
@ -2120,7 +2120,7 @@ find_field_in_table(THD *thd, TABLE_LIST *table_list,
|
||||
Field_translator *trans= table_list->field_translation;
|
||||
for (uint i= 0; i < num; i ++)
|
||||
{
|
||||
if (strcmp(trans[i].name, name) == 0)
|
||||
if (!my_strcasecmp(system_charset_info, trans[i].name, name))
|
||||
{
|
||||
#ifndef NO_EMBEDDED_ACCESS_CHECKS
|
||||
if (check_grants_view &&
|
||||
|
Reference in New Issue
Block a user