summaryrefslogtreecommitdiff
path: root/sql/opt_trace.h
diff options
context:
space:
mode:
authorVarun Gupta <varun.gupta@mariadb.com>2019-09-10 14:01:31 +0530
committerVarun Gupta <varun.gupta@mariadb.com>2019-09-11 04:32:40 +0530
commit71c57bcf8f87078772ccf5387583487bcd5d86f8 (patch)
tree2617f883a81f1593bc91a4a9038deb0984887e54 /sql/opt_trace.h
parent7b988e5cebf3c6979694056e474f8256b8466696 (diff)
downloadmariadb-git-71c57bcf8f87078772ccf5387583487bcd5d86f8.tar.gz
Moved the function trace_plan_prefix to the optimizer trace file
Also added comments for trace_plan_prefix and the class Json_writer_temp_disable
Diffstat (limited to 'sql/opt_trace.h')
-rw-r--r--sql/opt_trace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/opt_trace.h b/sql/opt_trace.h
index 6fe179d79d8..46adbec2c3c 100644
--- a/sql/opt_trace.h
+++ b/sql/opt_trace.h
@@ -105,6 +105,7 @@ void opt_trace_print_expanded_query(THD *thd, SELECT_LEX *select_lex,
Json_writer_object *trace_object);
void add_table_scan_values_to_trace(THD *thd, JOIN_TAB *tab);
+void trace_plan_prefix(JOIN *join, uint idx, table_map join_tables);
void print_final_join_order(JOIN *join);
void print_best_access_for_table(THD *thd, POSITION *pos,
enum join_type type);