• Igor Babaev's avatar
    Fixed the bug mdev-12673. · 15f9931f
    Igor Babaev authored
    This patch corrects the fix for the bug mdev-10693.
    It is critical for the function get_best_combination() not to call
    create_ref_for_key() for constant tables.
    This bug could manifest itself only in multi-table subqueries where
    one of the tables is accessed by a constant primary key.
    15f9931f
subselect_mat_cost_bugs.test 12.4 KB