• Thirunarayanan Balathandayuthapani's avatar
    MDEV-19630 ALTER TABLE ... ADD COLUMN damages foreign keys · 07b1a26c
    Thirunarayanan Balathandayuthapani authored
    		which are pointed to the table being altered
    Problem:
    ========
    	InnoDB failed to change the column name present in foreign key cache
    for instant add column. So it leads to column mismatch for the consecutive
    rename of column.
    
    Solution:
    =========
    	Evict the foreign key information from cache and load the foreign
    key information again for instant operation.
    07b1a26c
handler0alter.cc 272 KB