Commit 276c6d57 authored by Varun Gupta's avatar Varun Gupta

Fixing optimizer trace tests failing

parent d3d2a714
...@@ -8163,12 +8163,11 @@ best_access_path(JOIN *join, ...@@ -8163,12 +8163,11 @@ best_access_path(JOIN *join,
pos->index_no= index_picked; pos->index_no= index_picked;
loose_scan_opt.save_to_position(s, loose_scan_pos); loose_scan_opt.save_to_position(s, loose_scan_pos);
trace_paths.end();
if (unlikely(thd->trace_started())) if (unlikely(thd->trace_started()))
print_best_access_for_table(thd, pos, best_type); print_best_access_for_table(thd, pos, best_type);
trace_paths.end();
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment