Bug #4292 | Dropping multiple tables with foreign keys fails | ||
---|---|---|---|
Submitted: | 25 Jun 2004 23:31 | Modified: | 28 Jun 2004 22:18 |
Reporter: | Michal Čihař | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 4.0.20 | OS: | Linux (Debian/Linux) |
Assigned to: | Heikki Tuuri | CPU Architecture: | Any |
[25 Jun 2004 23:31]
Michal Čihař
[28 Jun 2004 22:18]
Dean Ellis
This is expected behavior due to the order in which you are dropping the tables. You can circumvent that by using SET FOREIGN_KEY_CHECKS=0; before the DROP TABLE. There is a note about this in the 4.0.18 changelog: http://dev.mysql.com/doc/mysql/en/InnoDB_news-4.0.18.html