summaryrefslogtreecommitdiff
path: root/sql/opt_trace.h
diff options
context:
space:
mode:
authorVarun Gupta <varun.gupta@mariadb.com>2021-01-18 12:29:12 +0530
committerVarun Gupta <varun.gupta@mariadb.com>2021-01-18 12:29:12 +0530
commite7f289c514290d4995b0f3c2fc764e0eb11675ca (patch)
tree447ff490652ff3c4c016ed19b9fb38f3aa15ced9 /sql/opt_trace.h
parentedb5ae009c13e6bbb68696f0aeb2ce1b69c2b493 (diff)
downloadmariadb-git-10.4-opt_trace.tar.gz
MDEV-23646: Optimizer trace: optimize_cond() should show ON expression processing10.4-opt_trace
Print in the optimizer trace equality and constant propagation of the ON expression
Diffstat (limited to 'sql/opt_trace.h')
-rw-r--r--sql/opt_trace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/opt_trace.h b/sql/opt_trace.h
index 37053971ee3..c421d6a5036 100644
--- a/sql/opt_trace.h
+++ b/sql/opt_trace.h
@@ -108,6 +108,8 @@ void print_final_join_order(JOIN *join);
void print_best_access_for_table(THD *thd, POSITION *pos,
enum join_type type);
void print_on_expr(JOIN *join, Json_writer_array *trace_on_expr);
+void print_on_expr(THD *thd, List<TABLE_LIST> *join_list,
+ Json_writer_array *trace_array);
/*
Security related (need to add a proper comment here)
*/