1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

EXPLAIN JSON: Print out the "expensive constant condition" attached to joins.

This commit is contained in:
Sergei Petrunia
2014-12-06 19:27:42 +03:00
parent 5ee1c25fa8
commit dc259324d7
5 changed files with 104 additions and 5 deletions

View File

@ -23768,6 +23768,8 @@ int JOIN::save_explain_data_intern(Explain_query *output, bool need_tmp_table,
if (need_order)
xpl_sel->using_filesort= true;
xpl_sel->exec_const_cond= exec_const_cond;
JOIN_TAB* const first_top_tab= first_breadth_first_tab(join, WALK_OPTIMIZATION_TABS);
JOIN_TAB* prev_bush_root_tab= NULL;