• Marko Mäkelä's avatar
    MDEV-12004 InnoDB wrongly thinks that a column is indexed · c5fc3a90
    Marko Mäkelä authored
    after failed ADD UNIQUE INDEX
    
    check_col_exists_in_indexes(): Add the parameter only_committed.
    When considering committed indexes, evaluate index->is_committed().
    Else, evaluate index->to_be_dropped.
    
    rollback_inplace_alter_table(): Invoke check_col_exists_in_indexes()
    with only_committed=true.
    c5fc3a90
handler0alter.cc 259 KB