1
0
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:
Sergei Petrunia
2023-05-03 13:49:32 +03:00
committed by Oleksandr Byelkin
parent ce7ffe61d8
commit ed3e6f66a2
4 changed files with 245 additions and 13 deletions

View File

@ -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;