error message when calling `drop table` on a view doesn't make sense
Open
bad error message
good repro
- Dominant language
- Go
- Stars
- 24.4k
- Forks
- 873
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 108
Description
mysql
```
mysql> drop table v;
ERROR 1051 (42S02): Unknown table 'db.v'
mysql> drop view v;
Query OK, 0 rows affected (0.01 sec)
```
dolt
```
tmp/main*> drop table v;
Unknown table 't_2'
tmp/main*> drop view v;
Empty set (0.01 sec)
```
while `t_2` is a table that view `v` references, it is a known table and also not the name of the object being dropped.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.