• Aleksey Midenkov's avatar
    MDEV-25803 innodb.alter_candidate_key fix · c6207ecb
    Aleksey Midenkov authored
    There is a case when implicit primary key may be changed when removing
    NOT NULL from the part of unique key. In that case we update
    modified_primary_key which is then used to not skip key sorting.
    
    According to is_candidate_key() there is no other cases when primary
    kay may be changed implicitly.
    c6207ecb
handler.h 173 KB