diff options
author | Varun Gupta <varun.gupta@mariadb.com> | 2019-09-21 12:14:05 +0530 |
---|---|---|
committer | Varun Gupta <varun.gupta@mariadb.com> | 2019-09-21 12:14:05 +0530 |
commit | 896974fc3d721aabe1afbf637a566cab856a731d (patch) | |
tree | 7c2b25ebe76c5397beda181ccbbe4ecdcf9c4f35 /sql/item_func.cc | |
parent | 7a4019a1c7bcefceef9b6c2624c89088db3991cc (diff) | |
download | mariadb-git-896974fc3d721aabe1afbf637a566cab856a731d.tar.gz |
MDEV-18094: Query with order by limit picking index scan over filesort
In the function test_if_cheaper_ordering we make a decision if using an index is better than
using filesort for ordering. If we chose to do range access then in test_quick_select we
should make sure that cost for table scan is set to DBL_MAX so that it is not picked.
Diffstat (limited to 'sql/item_func.cc')
0 files changed, 0 insertions, 0 deletions