1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-30059: Optimizer Trace: plan_prefix should be a comma-separated-list

This commit is contained in:
Sergei Petrunia
2022-11-21 17:28:43 +03:00
parent 727491b72a
commit 5bf2421eed
9 changed files with 298 additions and 620 deletions

View File

@ -34,8 +34,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.considered_execution_plans'))
[
[
{
"plan_prefix":
[],
"plan_prefix": "",
"get_costs_for_tables":
[
{
@ -96,8 +95,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.considered_execution_plans'))
]
},
{
"plan_prefix":
[],
"plan_prefix": "",
"table": "t1",
"rows_for_plan": 7,
"cost_for_plan": 0.045367017
@ -129,8 +127,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.considered_execution_plans'))
[
[
{
"plan_prefix":
[],
"plan_prefix": "",
"get_costs_for_tables":
[
{
@ -188,8 +185,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.considered_execution_plans'))
]
},
{
"plan_prefix":
[],
"plan_prefix": "",
"table": "t1",
"rows_for_plan": 0.6,
"cost_for_plan": 0.005306142,