mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-26301: Split optimization refills: Optimizer Trace coverage
Add Optimizer Trace printouts.
This commit is contained in:
committed by
Oleksandr Byelkin
parent
ce7ffe61d8
commit
ed3e6f66a2
@ -7444,7 +7444,6 @@ best_access_path(JOIN *join,
|
||||
DBUG_ENTER("best_access_path");
|
||||
|
||||
Json_writer_object trace_wrapper(thd, "best_access_path");
|
||||
Json_writer_array trace_paths(thd, "considered_access_paths");
|
||||
|
||||
bitmap_clear_all(eq_join_set);
|
||||
|
||||
@ -7455,6 +7454,7 @@ best_access_path(JOIN *join,
|
||||
remaining_tables,
|
||||
&spl_pd_boundary);
|
||||
|
||||
Json_writer_array trace_paths(thd, "considered_access_paths");
|
||||
if (s->keyuse)
|
||||
{ /* Use key if possible */
|
||||
KEYUSE *keyuse;
|
||||
|
Reference in New Issue
Block a user