Bug #44441 | Foreign Keys in combination with Memory storage engine | ||
---|---|---|---|
Submitted: | 23 Apr 2009 16:29 | Modified: | 20 Dec 2013 6:52 |
Reporter: | Omer Barnir (OCA) | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: General | Severity: | S2 (Serious) |
Version: | 6.1-fk | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[23 Apr 2009 16:29]
Omer Barnir
[23 Jun 2012 9:33]
Simon Uyttendaele
The suggested fix (to disallow foreign keys when parent and child are not in the same engine type) is very limitative. For this particular case, rather consider disallowing foreign keys when the parent table is a non-persistant table. Foreign keys with child memory table is generally used for performance. In such cases, loosing the child table would not affect the parent and thus would not break constraints.
[20 Dec 2013 6:52]
Erlend Dahl
6.x project was abandoned years ago.