mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Removed double calls to records_in_range from distinct and group by
Fixed by moving testing of get_best_group_min_max() after range testing.
This commit is contained in:
@ -93,10 +93,6 @@ explain select * from t1 where a=1 or b=1 {
|
||||
}
|
||||
],
|
||||
"setup_range_conditions": [],
|
||||
"group_index_range": {
|
||||
"chosen": false,
|
||||
"cause": "no group by or distinct"
|
||||
},
|
||||
"analyzing_range_alternatives": {
|
||||
"range_scan_alternatives": [],
|
||||
"analyzing_roworder_intersect": {
|
||||
@ -168,6 +164,10 @@ explain select * from t1 where a=1 or b=1 {
|
||||
}
|
||||
]
|
||||
},
|
||||
"group_index_range": {
|
||||
"chosen": false,
|
||||
"cause": "no group by or distinct"
|
||||
},
|
||||
"chosen_range_access_summary": {
|
||||
"range_access_plan": {
|
||||
"type": "index_roworder_union",
|
||||
|
Reference in New Issue
Block a user