Wrong error message when attempting to create a view for a database that does not exists
Bug #992947 reported by
Igor Babaev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Confirmed
|
Medium
|
Oleksandr "Sanja" Byelkin |
Bug Description
If we try to create a view in a database that does not exists MariaDB 5.2 returns a wrong message:
MariaDB [test]> DROP DATABASE IF EXISTS nodb;
Query OK, 0 rows affected, 1 warning (0.00 sec)
MariaDB [test]> CREATE VIEW nodb.a AS SELECT 1;
ERROR 1 (HY000): Can't create/write to file './nodb/a.frm~' (Errcode: 2)
(see also bug #12626844 in mysql).
Changed in maria: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Oleksandr "Sanja" Byelkin (sanja-byelkin) |
milestone: | none → 5.2 |
To post a comment you must log in.