• Aleksey Midenkov's avatar
    MDEV-20480 Obsolete internal parser for FK in InnoDB · 5130f520
    Aleksey Midenkov authored
    Currently InnoDB uses internal parser for adding foreign keys. Remove
    internal parser and use data parsed by SQL parser (sql_yacc) for
    adding foreign keys.
    
    - create_table_info_t::create_foreign_keys() replacement for
      dict_create_foreign_constraints_low();
    - Pass constraint name via Foreign_key object.
    
    Temporary until MDEV-20865:
    
    - Pass alter_info as part of create_info.
    5130f520
foreign_key.result 16 KB