diff options
author | Monty <monty@mariadb.org> | 2021-10-21 19:40:58 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2022-01-21 14:30:14 +0200 |
commit | a9d18d56165bc025d066a4d65523b039d0c86db8 (patch) | |
tree | 20276f146d3ee4bde4cb7e60fded87bc1f460f31 /mysql-test/main/ps_11bugs.test | |
parent | 55772de12d3ee87f925053a6c53c77c7f834cc9d (diff) | |
download | mariadb-git-a9d18d56165bc025d066a4d65523b039d0c86db8.tar.gz |
Split cost calculations into fetch and total
This patch causes no changes in costs or result files.
Changes:
- Store row compare cost separately in Cost_estimate::comp_cost
- Store cost of fetching rows separately in OPT_RANGE
- Use range->fetch_cost instead of adjust_quick_cost(total_cost)
This was done to simplify cost calculation in sql_select.cc:
- We can use range->fetch_cost directly without having to call
adjust_quick_cost(). adjust_quick_cost() is now removed.
Other things:
- Removed some not used functions in Cost_estimate
Diffstat (limited to 'mysql-test/main/ps_11bugs.test')
0 files changed, 0 insertions, 0 deletions