Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
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).