• Sergei Petrunia's avatar
    Trivial fix: Make test_if_cheaper_ordering() use actual_rec_per_key() · 9020baf1
    Sergei Petrunia authored
    Discovered this while working on MDEV-34720: test_if_cheaper_ordering()
    uses rec_per_key, while the original estimate for the access method
    is produced in best_access_path() by using actual_rec_per_key().
    
    Make test_if_cheaper_ordering() also use actual_rec_per_key().
    Also make several getter function "const" to make this compile.
    Also adjusted the testcase to handle this (the change backported from
    11.0)
    9020baf1
subselect_innodb.test 20.6 KB