Bug #3623 | Cannot delete or update a parent row | ||
---|---|---|---|
Submitted: | 1 May 2004 22:32 | Modified: | 11 Aug 2005 14:25 |
Reporter: | Heraldo Hernández | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 4.0.18 | OS: | Linux (Linux) |
Assigned to: | CPU Architecture: | Any |
[1 May 2004 22:32]
Heraldo Hernández
[4 May 2004 0:03]
Philip
you set "no action" and that's what you've got - no updates to the database according to a user post http://dev.mysql.com/doc/mysql/en/InnoDB_foreign_key_constraints.html by standards no action==restrict previosu versions acted by disabling the key...
[4 May 2004 0:10]
Heraldo Hernández
this mean that I can't delete a row on parent table without alter the children table??. In other way, I must set On delete cascade, or on delete set null but NOT on delete no action because it's like on delete restrict??
[4 May 2004 22:43]
MySQL Verification Team
A real NO ACTION option is yet to be done. It will be done in 4.1. branch.
[11 Aug 2005 14:25]
Heikki Tuuri
NO ACTION actually means the same as RESTRICT :). This was fixed about 2 years ago.