mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Minor cleanup in the optimizer trace code.
More test coverage added for the optimizer trace.
This commit is contained in:
@ -24,7 +24,7 @@ explain select * from t1 where a=1 or b=1 {
|
||||
"select_id": 1,
|
||||
"steps": [
|
||||
{
|
||||
"expanded_query": "select `t1`.`a` AS `a`,`t1`.`b` AS `b`,`t1`.`c` AS `c`,`t1`.`filler` AS `filler` from `t1` where `t1`.`a` = 1 or `t1`.`b` = 1"
|
||||
"expanded_query": "select t1.a AS a,t1.b AS b,t1.c AS c,t1.filler AS filler from t1 where t1.a = 1 or t1.b = 1"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -194,15 +194,11 @@ explain select * from t1 where a=1 or b=1 {
|
||||
},
|
||||
{
|
||||
"selectivity_for_indexes": [],
|
||||
"selectivity_for_columns": []
|
||||
"selectivity_for_columns": [],
|
||||
"cond_selectivity": 0.002
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"execution_plan_for_potential_materialization": {
|
||||
"steps": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"considered_execution_plans": [
|
||||
{
|
||||
|
Reference in New Issue
Block a user