• heikki@hundin.mysql.fi's avatar
    row0mysql.c: · d9790a40
    heikki@hundin.mysql.fi authored
      Allow always DROPping of a table which is only referenced by FOREIGN KEY constraints from the same table
    Many files:
      Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
    d9790a40
dict0dict.c 108 KB