diff options
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r-- | sql/sql_show.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 479abf82b91..b084238a3a4 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -527,6 +527,8 @@ int mysqld_extend_show_tables(THD *thd,const char *db,const char *wild) protocol->store(file_name); table_list.db=(char*) db; table_list.real_name= table_list.alias= file_name; + if (lower_case_table_names) + casedn_str(file_name); if (!(table = open_ltable(thd, &table_list, TL_READ))) { for (uint i=0 ; i < field_list.elements ; i++) |