1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

fixed bug on case insensetive file systems

This commit is contained in:
unknown
2003-02-27 12:45:00 +02:00
parent 98e8d472cf
commit 4d1cb030db

View File

@@ -3826,7 +3826,7 @@ TABLE_LIST *st_select_lex::add_table_to_list(THD *thd,
}
ptr->alias= alias_str;
if (lower_case_table_names)
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;