summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r--sql/sql_select.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 2f317f58da6..14351268af6 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -27860,7 +27860,7 @@ void TABLE_LIST::print(THD *thd, table_map eliminated_tables, String *str,
for (i= 1; i <= num_parts; i++)
{
String *name= name_it++;
- append_identifier(thd, str, name->c_ptr(), name->length());
+ append_identifier(thd, str, name->ptr(), name->length());
if (i != num_parts)
str->append(',');
}