Bug #27418 | DROP TABLE should drop views too | ||
---|---|---|---|
Submitted: | 24 Mar 2007 17:31 | Modified: | 27 Apr 2007 13:00 |
Reporter: | Baron Schwartz (Basic Quality Contributor) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: DDL | Severity: | S4 (Feature request) |
Version: | 5.0.24 | OS: | Any (all) |
Assigned to: | CPU Architecture: | Any | |
Tags: | drop table, drop view, qc, VIEW |
[24 Mar 2007 17:31]
Baron Schwartz
[27 Apr 2007 13:00]
Valeriy Kravchuk
Thank you for a feature request. As we have a separate DROP VIEW (and SHOW CREATE TABLE works for views and clearly shouws that "table" is really a view), DROP TABLE should NOT drop views. But when you create table with the name used for view, I think, more correct error message is needed. Something similar to Oracle's: ORA_00955: name is already used by an existing object