summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r--sql/sp_head.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index 9afc0c04631..3f2969768c5 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -834,10 +834,10 @@ sp_head::restore_lex(THD *thd)
char **tb;
while ((tb= li++))
- if (my_strcasecmp(system_charset_info, tables->real_name, *tb) == 0)
+ if (my_strcasecmp(system_charset_info, tables->table_name, *tb) == 0)
break;
if (! tb)
- m_tables.push_back(&tables->real_name);
+ m_tables.push_back(&tables->table_name);
}
}
#endif