mirror of
https://github.com/MariaDB/server.git
synced 2025-09-06 19:08:06 +03:00
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.