• Jan Lindström's avatar
    MDEV-7367: Updating a virtual column corrupts table which crashes server · b53bcd43
    Jan Lindström authored
    Analysis: MySQL table definition contains also virtual columns. Similarly,
    index fielnr references MySQL table fields. However, InnoDB table definition
    does not contain virtual columns. Therefore, when matching MySQL key fieldnr
    we need to use actual column name to find out referenced InnoDB dictionary
    column name.
    
    Fix: Add new function to match MySQL index key columns to InnoDB dictionary.
    b53bcd43
dict0dict.cc 179 KB