summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2002-09-20 14:05:18 +0300
committermonty@mashka.mysql.fi <>2002-09-20 14:05:18 +0300
commitcb8580a2cd0098c9e0ee5f2a6b30ee3e68978f9e (patch)
treed4c1c24287ff9b73015dccba9705de179966318b /sql/sql_show.cc
parent76d7ab0ad2b57e843ea05e1e10ebd6ddb41339d1 (diff)
downloadmariadb-git-cb8580a2cd0098c9e0ee5f2a6b30ee3e68978f9e.tar.gz
Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
This should fix some issues where --lower-case-table-names doesn't work properly under windows.
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 7f6905279d0..d9e007bf314 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -307,7 +307,7 @@ int mysqld_extend_show_tables(THD *thd,const char *db,const char *wild)
packet->length(0);
net_store_data(packet,convert, file_name);
table_list.db=(char*) db;
- table_list.real_name=table_list.name=file_name;
+ table_list.real_name= table_list.alias= file_name;
if (!(table = open_ltable(thd, &table_list, TL_READ)))
{
for (uint i=0 ; i < field_list.elements ; i++)