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.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 7c8290d2b9f..bae1ab65f47 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -26694,6 +26694,9 @@ bool JOIN_TAB::save_explain_data(Explain_table_access *eta,
!((QUICK_ROR_INTERSECT_SELECT*)cur_quick)->need_to_fetch_row)
key_read=1;
+ if (table_list->table_function)
+ eta->push_extra(ET_TABLE_FUNCTION);
+
if (info)
{
eta->push_extra(info);