mirror of
https://github.com/MariaDB/server.git
synced 2026-05-08 08:04:29 +02:00
Minor cleanup in the optimizer trace code.
More test coverage added for the optimizer trace.
This commit is contained in:
parent
7d2138d4a4
commit
9cb55143ac
17 changed files with 3042 additions and 474 deletions
|
|
@ -32,7 +32,7 @@ explain select * from t1 where pk1 != 0 and key1 = 1 {
|
|||
"select_id": 1,
|
||||
"steps": [
|
||||
{
|
||||
"expanded_query": "select `t1`.`pk1` AS `pk1`,`t1`.`pk2` AS `pk2`,`t1`.`key1` AS `key1`,`t1`.`key2` AS `key2` from `t1` where `t1`.`pk1` <> 0 and `t1`.`key1` = 1"
|
||||
"expanded_query": "select t1.pk1 AS pk1,t1.pk2 AS pk2,t1.key1 AS key1,t1.key2 AS key2 from t1 where t1.pk1 <> 0 and t1.key1 = 1"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -183,15 +183,11 @@ explain select * from t1 where pk1 != 0 and key1 = 1 {
|
|||
"selectivity_from_index": 0.001
|
||||
}
|
||||
],
|
||||
"selectivity_for_columns": []
|
||||
"selectivity_for_columns": [],
|
||||
"cond_selectivity": 0.001
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"execution_plan_for_potential_materialization": {
|
||||
"steps": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"considered_execution_plans": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue