• igor@olga.mysql.com's avatar
    Fixed bug #25407. · 71013621
    igor@olga.mysql.com authored
    The bug could cause choosing a sub-optimal execution plan for 
    a single-table query if a unique index with many null keys were 
    defined for the table. 
    It happened because the code of the check_quick_keys function 
    made an assumption that any key may occur in an unique index 
    only once. Yet this is not true for keys with nulls that may 
    have multiple occurrences in the index.
    71013621
null_key.result 14.3 KB