summaryrefslogtreecommitdiff
path: root/sql/temporary_tables.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/temporary_tables.cc')
-rw-r--r--sql/temporary_tables.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/temporary_tables.cc b/sql/temporary_tables.cc
index 4c6671cc2ae..908d28f6629 100644
--- a/sql/temporary_tables.cc
+++ b/sql/temporary_tables.cc
@@ -1140,7 +1140,8 @@ TABLE *THD::open_temporary_table(TMP_TABLE_SHARE *share,
thread_safe_increment32(&slave_open_temp_tables);
}
- DBUG_PRINT("tmptable", ("Opened table: '%s'.'%s'%p", table->s->db.str,
+ DBUG_PRINT("tmptable", ("Opened table: '%s'.'%s table: %p",
+ table->s->db.str,
table->s->table_name.str, table));
DBUG_RETURN(table);
}