diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2020-07-28 02:51:48 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2020-07-28 02:51:48 +0400 |
commit | 077d1c837ba10931f21a718dcfeb7bdc0cc073b2 (patch) | |
tree | 3c26fe777813e5d0c129f6ea243bf7f1006f33da /sql/sql_select.cc | |
parent | e0c0a15ee9e45ef17283b3a65ed4647b1477622a (diff) | |
download | mariadb-git-bb-mdev-17399-hf.tar.gz |
MDEV-17399 Add support for JSON_TABLE.bb-mdev-17399-hf
EXPLAIN and EXPLAIN FORMAT=JSON added for the JSON_TABLE.
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 3 |
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); |