diff options
author | Varun Gupta <varun.gupta@mariadb.com> | 2019-09-10 14:01:31 +0530 |
---|---|---|
committer | Varun Gupta <varun.gupta@mariadb.com> | 2019-09-11 04:32:40 +0530 |
commit | 71c57bcf8f87078772ccf5387583487bcd5d86f8 (patch) | |
tree | 2617f883a81f1593bc91a4a9038deb0984887e54 /sql/opt_subselect.cc | |
parent | 7b988e5cebf3c6979694056e474f8256b8466696 (diff) | |
download | mariadb-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_subselect.cc')
-rw-r--r-- | sql/opt_subselect.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/opt_subselect.cc b/sql/opt_subselect.cc index e0873185461..c4cb9b81170 100644 --- a/sql/opt_subselect.cc +++ b/sql/opt_subselect.cc @@ -457,7 +457,6 @@ void best_access_path(JOIN *join, JOIN_TAB *s, table_map remaining_tables, uint idx, bool disable_jbuf, double record_count, POSITION *pos, POSITION *loose_scan_pos); -void trace_plan_prefix(JOIN *join, uint idx, table_map remaining_tables); static Item *create_subq_in_equalities(THD *thd, SJ_MATERIALIZATION_INFO *sjm, Item_in_subselect *subq_pred); @@ -3859,7 +3858,7 @@ void fix_semijoin_strategies_for_picked_join_order(JOIN *join) join->cur_sj_inner_tables= 0; Json_writer_object semijoin_strategy(thd); semijoin_strategy.add("semi_join_strategy","LooseScan"); - Json_writer_array semijoin_plan(thd, "join_order"); + Json_writer_array semijoin_plan(thd, "join_order"); for (idx= first; idx <= tablenr; idx++) { if (unlikely(thd->trace_started())) |