Commit 4d1cb030 authored by unknown's avatar unknown

fixed bug on case insensetive file systems

parent 98e8d472
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment