1
0
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:
unknown
2005-01-19 16:19:10 +03:00
parent a8e5250060
commit 6130a3ad7c
3 changed files with 14 additions and 1 deletions

View File

@ -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 &&