Bug #10449 | Foreign key On Delete directives disappear | ||
---|---|---|---|
Submitted: | 8 May 2005 15:31 | Modified: | 16 Apr 2006 13:10 |
Reporter: | Yair dfwerfw | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 4.0.20a | OS: | Windows (Windows 2003 5.2, x86) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[8 May 2005 15:31]
Yair dfwerfw
[9 May 2005 8:14]
Heikki Tuuri
Hi! Did you upgrade mysqld in between? Does SHOW CREATE TABLE still show the correct definition for sbv_services? Regards, Heikki
[9 May 2005 11:05]
Yair dfwerfw
There was definitely no change to mysqld. The db was mostly idle (except for a few periodic select queries) during the one hour span in which the change in SHOW TABLE STATUS occurred. MySQL's error file is clean. I'm afraid I don't have the result of SHOW CREATE TABLE because the customer's database has been recreated The problem was detected because our application misbehaved in a way that was clearly due to cascade deletes on these tables not working. Since we log the result of SHOW TABLE STATUS every hour, I searched back in our logs and indeed found out a moment in which a change had occurred in its output. We use MySQL extensively and have never seen this happen before. If you'd like us to periodically log anything else in addition to SHOW CREATE TABLE we'll be most happy to oblige.
[9 May 2005 12:54]
Heikki Tuuri
Hi! I am putting this to the 'Can't repeat' status. If you can repeat, please add a new comment to this bug report. --Heikki
[30 Aug 2005 7:05]
Yair dfwerfw
This still happens. I have 2 more documented cases such as the above. After uptime of ~14 days the constraints are suddenly and inexplicably lost. This is a very severe issue which causes data corruption, as cascade deletes are not being invoked from that point on. A restart of the db server brings things back to normal. Please see another bug report http://bugs.mysql.com/bug.php?id=12299
[16 Mar 2006 13:10]
Heikki Tuuri
I think Marko fixed a bug last fall that could cause this symptom. Is the bug still present in 5.0.19?
[16 Apr 2006 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".