1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

fixed bug on case insensetive file systems

This commit is contained in:
bell@sanja.is.com.ua
2003-02-27 12:45:00 +02:00
parent fa249d2d87
commit 7db4ec2965

View File

@@ -3826,8 +3826,8 @@ TABLE_LIST *st_select_lex::add_table_to_list(THD *thd,
}
ptr->alias= alias_str;
if (lower_case_table_names)
my_casedn_str(files_charset_info,table->table.str);
if (lower_case_table_names && table->table.length)
my_casedn_str(files_charset_info, table->table.str);
ptr->real_name=table->table.str;
ptr->real_name_length=table->table.length;
ptr->lock_type= lock_type;