• unknown's avatar
    Bug#21713 incorrect value for the REFERENTIAL_CONSTRAINTS.UNIQUE_CONSTRAINT_NAME column · 9af4bbc7
    unknown authored
    added new field 'REFERENCED_TABLE_NAME' to 'referential_constraints' table
    field 'UNIQUE_CONSTRAINT_NAME' contains the name of the referenced index
    
    
    mysql-test/r/information_schema_inno.result:
      result fix
    mysql-test/t/information_schema_inno.test:
      test fix
    sql/sql_show.cc:
      added new field 'REFERENCED_TABLE_NAME' to 'referential_constraints' table
      field 'UNIQUE_CONSTRAINT_NAME' contains the name of the referenced index
    sql/table.h:
      added 'referenced_key_name' member to 'st_foreign_key_info' struct
    storage/innobase/handler/ha_innodb.cc:
      added the filling of referenced key name
    9af4bbc7
information_schema_inno.test 2.78 KB