| Bug #17371 | Unable to dump a schema with invalid views | ||
|---|---|---|---|
| Submitted: | 14 Feb 2006 12:02 | Modified: | 14 Jul 2006 18:44 |
| Reporter: | Kristian Koehntopp | ||
| Status: | Closed | ||
| Category: | Server: Views | Severity: | S1 (Critical) |
| Version: | 5.0.18 | OS: | Linux (Linux) |
| Assigned to: | Tatjana A. Nuernberg | Target Version: | |
[14 Feb 2006 12:02]
Kristian Koehntopp
[14 Feb 2006 13:34]
Valeriy Kravchuk
Thank you for a problem report. I would call it a feature request. And this feature will be useful for mysqldump only when it will become possible to create views based on non-existing objects. Not sure, that this will be done ever.
[14 Feb 2006 13:42]
Kristian Koehntopp
Well, the example given is an example that is possible with mysql right now. Dropping "basetable" breaks current backup methods, and does so with no warning or error message on the drop. I consider that a bug, and not a feature request. mysqldump must not break in this situation, or there will be no backup with many customers installations.
[30 May 2006 14:49]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/7015
[26 Jun 2006 20:15]
Tatjana A. Nuernberg
merged into 5.0.23 (main)
[14 Jul 2006 18:44]
Paul DuBois
Noted in 5.0.23, 5.1.12 changelogs. mysqldump would not dump views that had become invalid because a table named in the view definition had been dropped. Instead, it quit with an error message. Now you can specify the --force option to cause mysqldump to keep going and write a SQL comment containing the view definition to the dump output.
