• svoj@april.(none)'s avatar
    BUG#17001 - Table and server crash on ALTER TABLE · 3afbfc5f
    svoj@april.(none) authored
    frm and data files for tables created by earlier MySQL
    versions becomes out of sync after certain ALTER TABLE statements:
    - One that changes column default value;
    - One that changes table comment;
    - One that changes table password.
    
    As a result one can expirience either server crash or data corruption/loss.
    
    This fix ensures that running ALTER TABLE on tables created by earlier
    MySQL versions recreates data files.
    3afbfc5f
sql_table.cc 129 KB